hirealite/laravel-tom-tom

Laravel based API For TomTom Webfleet .Connect

0.2 2016-04-04 13:14 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:44:52 UTC


README

API Client for Laravel 5 that connects with TomTom's Webfleet .Connect API.

Currently supported calls:

  • createSession
  • showUsers
  • showObjectReport
  • showVehicleReport
  • sendOrder
  • sendDestinationOrder
  • showAddressReport
  • insertAddress
  • updateAddress
  • deleteAddress

It is also relatively easy to add your own methods quickly, please submit a PR with any improvements.

Still heavily in development and probably shouldn't be used in a commercial project.

Installation

Run the following command in your Laravel installation.

composer require hirealite/laravel-tom-tom

Once its installed add the following provider to your config.php:

Hirealite\LaravelTomTom\TomTomServiceProvider::class

And the Facade:

'TomTom' => \Hirealite\LaravelTomTom\Facades\TomTom::class,

then run the following command to generate the configuration file:

php artisan vendor:publish

You'll then need to add your TomTom API into the config/tomtom.php file.