truckersmp/api-client

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
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.4.0 | ^7.4| | ^8.0| | MIT | |
| v2.3.3 | ^7.4| | ^8.0| | MIT | |
| v2.3.2 | ^7.4| | ^8.0| | MIT | |
| v2.3.1 | ^7.4| | ^8.0| | MIT | |
| v2.3.0 | ^7.4| | ^8.0| | MIT | |
| v2.2.2 | ^7.4| | ^8.0| | MIT | |
| v2.2.1 | ^7.4| | ^8.0| | MIT | |
| v2.2.0 | ^7.4| | ^8.0| | MIT | |
| v2.1.1 | ^7.4| | ^8.0| | MIT | |
| v2.1.0 | ^7.4| | ^8.0| | MIT | |
| v2.0.1 | ^7.4| | ^8.0| | MIT | |
| v2.0.0 | ^7.4| | ^8.0| | MIT | |
| v1.2.0 | ^7.2 | MIT | ||
| v1.1.1 | ^7.2 | MIT | ||
| v1.1.0 | ^7.2 | MIT | ||
| v1.0.4 | ^7.2 | MIT | ||
| v1.0.3 | ^7.2 | MIT | ||
| v1.0.2 | ^7.2 | MIT | ||
| v1.0.1 | ^7.2 | MIT | ||
| v1.0.0 | ^7.2 | MIT | ||
| v0.3 | >=5.6.0 | MIT | ||
| v0.2 | >=5.6.0 | MIT | ||
| v0.1 | >=5.6.0 | MIT |