litgroup / http-client-bundle
React http-client integration for Symfony2.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- litgroup/dns-bundle: 0.1.*
- litgroup/event-loop-bundle: 0.3.*
- react/http-client: 0.4.*
- symfony/framework-bundle: ~2.3
Requires (Dev)
- phpunit/phpunit: 4.1.*@stable
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.
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
.