Symfony integration for HTTPlug.
Via Composer
$ composer require php-http/httplug-bundle php-http/curl-client guzzlehttp/psr7
HTTPlug works with any HTTP client implementation that provides a HTTPlug adapter. The command above installs the Guzzle client. For alternatives, see the HTTPlug client list.
Enable the bundle in your kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Http\HttplugBundle\HttplugBundle(),
);
}
Please see the official documentation.
$ composer test
Please see our contributing guide.
If you discover any security related issues, please contact us at [email protected].
The MIT License (MIT). Please see License File for more information.