mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-21 16:48:45 +01:00
${service.name} Web Service Client for PHP
Interact with the ${service.name} web service using the Guzzle framework for building RESTful web service clients in PHP.
Installation
Add this service to the src/${service.relative_path} directory of your Guzzle installation:
cd /path/to/guzzle
git submodule add ${service.git_url} ./src/${service.relative_path}
You can now build a phar file containing this client and the main guzzle framework:
cd /path/to/guzzle/build
phing phar
Now you just need to include guzzle.phar in your script. The phar file will take care of autoloading Guzzle classes:
<?php
require_once 'guzzle.phar';
Testing
Run the phing build script to configure your project for PHPUnit testing:
phing
You will be prompted for the full path to your git clone of the main Guzzle framework.
More information
- See https://github.com/guzzle/guzzle for more information about Guzzle, a PHP framework for building RESTful webservice clients.