Skip to content
TruckersMP Web API v2
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Removed Plays.TV from Social as it was removed from API Dec 24, 2019
tests
.editorconfig Separated the tests into individual classes Nov 16, 2019
.gitignore
.styleci.yml Added StyleCI (#11) Nov 27, 2019
.travis.yml
LICENSE
composer.json Updated authors and license Dec 24, 2019
composer.lock Updated composer.lock file Dec 1, 2019
phpunit.xml
readme.md Added composer to the list of requirements Nov 29, 2019

readme.md

Build Status StyleCI Status Total Downloads Latest Stable Version Latest Unstable Version License

Introduction

The TruckersMP PHP library provides convenient access to the TruckersMP API for applications written in the PHP language. It includes a pre-defined set of classes for API each endpoint to get the data as a collection or model.

If you want to use the API without the library, check out the API Documentation.

Requirements

  • PHP 7.2 or later
  • Composer

Composer

You can install the package via Composer. Run the following command:

composer require truckersmp/api-client

To use the package, use Composer's autoload:

require_once('vendor/autoload.php');

Official Documentation

Documentation for API client can be found on the Wiki.

Support

If you have any questions about the library, you can create a topic on our forum.

License

This package is open-source and is licensed under the MIT license.

You can’t perform that action at this time.