dev-master
9999999-devTravelParkingApps Library
MIT
The Requires
- php >=5.3.0
The Development Requires
by Lee Smith
api parking
TravelParkingApps Library
SOAP API for TravelParkingApps, (*1)
PHP 5.3 and later., (*2)
Full documentation can be found here., (*3)
The recommended method to install TravelParkingApps is through Composer., (*4)
Add weblee/travelparkingapps
as a dependency in your project's composer.json
file (change version to suit your version of TravelParkingApps):, (*5)
{ "require": { "weblee/travelparkingapps": "~1.0" } }
Download and install Composer:, (*6)
curl -s http://getcomposer.org/installer | php
Install your dependencies:, (*7)
php composer.phar install --no-dev
Require Composer's autoloader, (*8)
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:, (*9)
<?php require 'vendor/autoload.php'; $service = new TravelParkingApps\Client('your-api-key');
You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org., (*10)
You'll notice that the installation command specified --no-dev
. This prevents Composer from installing the various testing and development dependencies. For average users, there is no need to install the test suite (which also includes the complete source code of Elasticsearch). If you wish to contribute to development, just omit the --no-dev
flag to be able to run tests., (*11)
TravelParkingApps Library
MIT
api parking