This repository was archived by the owner on Apr 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -11,37 +11,22 @@ Requirements
1111
1212Goutte works with PHP 5.3.3 or later.
1313
14- Installing via Composer
15- -----------------------
14+ Installation
15+ ------------
1616
17- The recommended way to install Goutte is through ` Composer `_.
17+ Add `` fabpot/goutte `` as a require dependency in your `` composer.json `` file:
1818
1919.. code-block :: bash
2020
21- # Install Composer
22- curl -sS https://getcomposer.org/installer | php
23-
24- # Add Goutte as a dependency
2521 php composer.phar require fabpot/goutte:~ 1.0
2622
27- After installing, you need to require Composer's autoloader:
28-
29- .. code-block :: php
30-
31- require 'vendor/autoload.php';
23+ .. tip ::
3224
33- Installing via Phar
34- -------------------
25+ You can also download the `Goutte.phar `_ file:
3526
36- Installing Goutte is as easy as it can get. Download the `Goutte.phar `_ file
37- and you're done!
38-
39-
40- Require the Goutte phar file to use Goutte in a script:
41-
42- .. code-block :: php
27+ .. code-block :: php
4328
44- require_once '/path/to/goutte.phar';
29+ require_once '/path/to/goutte.phar';
4530
4631 Usage
4732-----
@@ -115,6 +100,6 @@ License
115100
116101Goutte is licensed under the MIT license.
117102
118- .. _`Composer` : http://getcomposer.org
103+ .. _`Composer` : http://getcomposer.org
119104.. _`Goutte.phar` : http://get.sensiolabs.org/goutte.phar
120105.. _`Guzzle` : http://docs.guzzlephp.org
You can’t perform that action at this time.
0 commit comments