Download the PHP package gpsinsight/api-client without Composer

On this page you can find all versions of the php package gpsinsight/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package api-client

GPS Insight API Client Library for PHP

Latest Version on Packagist Build Status

This is the official PHP client library for interacting with the GPS Insight API (V2).

GPS Insight logo

GPS Insight provides vehicle fleet GPS tracking and FMCSA-compliant electronic logging devices (ELD) for regulating hours of service (HOS). GPS Insight's API (V2) provides a programmatic way to push your fleet's data from our system to your back-end systems (e.g., ERP, Dispatch, CRM). By using our API you can effortlessly integrate your fleet's data into your back-end systems to provide transparency into payroll, fuel card transactions, additional documentation, asset management, and more.

The GPS Insight API documentation is hosted on our website. Be sure to sign up for an account and follow the directions to get API credentials before using this library.

Installation

This package is hosted on Packagist and is installable via Composer.

Requirements

Installing Via Composer

Run the following command (assuming composer is available in your PATH):

This will set the GPS Insight API Client Library as a dependency in your project and install it.

When bootstrapping your application, you will need to require 'vendor/autoload.php' in order to setup autoloading for the GPS Insight API Client Library and any of your other Composer-installed packages.

Basic Usage

Code

Output

Additional Usage

If you are using an IDE like PhpStorm that supports intellisense, the names of services and operations will autocomplete for you. For parameters, you should consult the official GPS Insight API documentation.

Concepts

Classes

All classes are in the root namespace of GpsInsight\Api\V2.

Configuration

When instantiating the GpsInsight class, you must provide configuration options to setup the API client. The following settings are allowed:

You must provide at least one of app_token, password, or session_token along with your username to authenticate to the GPS Insight API. For more information about API credentials, please read the GPS Insight API documentation.

Advanced Example

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] directly instead of using the issue tracker. This allows us to take appropriate actions to mitigate the issues as quickly as possible.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of api-client with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
ext-json Version *
guzzlehttp/guzzle Version ^6.0
guzzlehttp/command Version ^1.0
psr/log Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gpsinsight/api-client contains the following files

Loading the files please wait ....