New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

truckersmp/api-client

TruckersMP API Library helps connecting to and using the TruckersMP API.
1,341 36
Install
composer require truckersmp/api-client
Latest Version:v2.4.0
PHP:^7.4|^8.0
Laravel:8 – 13
License:MIT
Last Updated:Jul 15, 2026
Links: GitHub  ·  Packagist
Maintainer: Krashnz

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 each API 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.4 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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

407,699,310 4,663

Version History

Version Released PHP Laravel License
v2.4.0 ^7.4|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v2.3.3 ^7.4|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v2.3.2 ^7.4|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v2.3.1 ^7.4|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0 MIT
v2.3.0 ^7.4|^8.0 ^8.0|^9.0|^10.0|^11.0 MIT