Skip to content

Commit 78a0a40

Browse files
authored
Merge pull request #380 from php-http/tweak-readme
simplify readme for symfony flex and link to documentation
2 parents fb7b473 + 1937227 commit 78a0a40

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,15 @@
1010
**Symfony integration for [HTTPlug](http://httplug.io/).**
1111

1212

13-
## Install
13+
## Installation
1414

15-
Via Composer
15+
To install the bundle with Symfony Flex, use the recipe:
1616

1717
``` bash
18-
$ composer require php-http/httplug-bundle php-http/curl-client guzzlehttp/psr7
18+
$ composer require php-http/httplug-bundle
1919
```
20-
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](http://docs.php-http.org/en/latest/clients.html).
2120

22-
Enable the bundle in your kernel:
23-
24-
``` php
25-
<?php
26-
// app/AppKernel.php
27-
28-
public function registerBundles()
29-
{
30-
$bundles = [
31-
// ...
32-
new Http\HttplugBundle\HttplugBundle(),
33-
];
34-
}
35-
```
21+
See the [bundle documentation](https://php-http.readthedocs.io/en/latest/integrations/symfony-bundle.html) for installation without Flex and for further options. There is also a [HTTPlug client list](http://docs.php-http.org/en/latest/clients.html) if you want to use a specific HTTP client.
3622

3723
## Documentation
3824

0 commit comments

Comments
 (0)