fleetbase / fleetbase-php
Fleetbase\PHP\SDK
Requires
- php: ^7.4
- doctrine/inflector: ^2.0
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- mockery/mockery: ^1
- php-parallel-lint/php-parallel-lint: ^1
- phpstan/phpstan: ^0.11
- phpstan/phpstan-mockery: ^0.11
- phpunit/phpunit: ^8
- squizlabs/php_codesniffer: ^3
- vlucas/phpdotenv: ^5.4
This package is auto-updated.
Last update: 2024-11-25 10:10:35 UTC
README
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.
Requirements
PHP 7.4 and later.
Installation
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
Quick Start
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' ]);
Documentation
Check out the documentation website for detailed information and code examples.
Contributing
Contributions are welcome! Please read CONTRIBUTING for details.
Copyright and License
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.