litgroup/http-client-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

React http-client integration for Symfony2.

v0.1.0 2014-06-30 15:14 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:36:26 UTC


README

🚫 (This project is no longer maintained.)

This bundle integrates React Http Client into the Symfony 2 environment.

Latest Stable Version Total Downloads Latest Unstable Version License

Master branch status: Build Status

Installation

Use composer to install LitGroupHttpClientBundle:

"require": {
    "litgroup/http-client-bundle": "0.1.*"
}

Register LitGroupHttpClientBundle and related bundles in the AppKernel:

<?php // AppKernel.php

use Symfony\Component\HttpKernel\Kernel;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new LitGroup\Bundle\EventLoopBundle\LitGroupEventLoopBundle(),
            new LitGroup\Bundle\DnsBundle\LitGroupDnsBundle(),
            new LitGroup\Bundle\HttpClientBundle\LitGroupHttpClientBundle(),
        ];
        // ...

        return $bundles;
    }

    // ...
}

Configuration

No configuration needed this time.

Usage

Use litgroup_http_client.client service to receive React\HttpClient\Client.

See React Http Client library documentation for more details.

License

See details in the Resources/meta/LICENSE.