php-http/httplug-bundle

Symfony integration for HTTPlug

Installs: 1 267 610

Dependents: 52

Suggesters: 30

Stars: 202

Watchers: 10

Forks: 27

Open Issues: 21

Type:symfony-bundle

1.14.0 2019-01-03 08:51 UTC

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.