php-http/httplug-bundle

Symfony integration for HTTPlug


README

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Symfony integration for HTTPlug.

Install

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(),
    );
}

Documentation

Please see the official documentation.

Testing

$ composer test

Contributing

Please see our contributing guide.

Security

If you discover any security related issues, please contact us at security@php-http.org.

License

The MIT License (MIT). Please see License File for more information.