Fleetbase PHP SDK
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.
PHP 7.4 and later.
The preferred method of installation is via Composer. Run the following
command to install the package and add it as a requirement to your project's
composer.json
:
composer require fleetbase/fleetbase-php
Simple usage looks like:
$fleetbase = new \Fleetbase\Sdk\Fleetbase('< api key here >');
$spaceNeedle = $fleetbase->places->create([
'name' => 'Space Needle',
'street1' => '400 Broad Street',
'city' => 'Seattle',
'state' => 'WA',
'country' => 'US'
]);
Check out the documentation website for detailed information and code examples.
Contributions are welcome! Please read CONTRIBUTING for details.
The fleetbase/fleetbase-php library is copyright © Fleetbase Pte Ltd. and licensed for use under the MIT License (MIT). Please see LICENSE for more information.