Web Spider based library Guzzle
The recommended way to install WebSpidy is through Composer.
-
Add
ZuZu/WebSpidy
as a dependency in your project'scomposer.json
file:{ "require": { "ZuZu/WebSpidy": "*" } }
-
Download and install Composer:
curl -s http://getcomposer.org/installer | php
-
Install your dependencies:
php composer.phar install
-
Require Composer's autoloader
Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:
require 'vendor/autoload.php';
You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org.