php-http/httplug-bundle

Symfony integration for HTTPlug

Installs: 2 070 161

Dependents: 60

Suggesters: 36

Stars: 252

Watchers: 10

Forks: 34

Open Issues: 15

Type:symfony-bundle

1.16.0 2019-06-05 12:03 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 = [
        // ...
        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.