fleetbase/fleetbase-php

v1.0.3 2022-05-25 04:38 UTC

This package is auto-updated.

Last update: 2024-04-25 09:00:31 UTC


README

Source Code Latest Version Software License PHP Version Build Status Coverage Status Total Downloads

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.