Installation & Setup

Composer & Packagist #

In order to add TrackZero PHP SDK to your project, you need to install it via Composer v2.

				
					composer require leira/trackzero
				
			
The package is available here.

Import #

				
					include '{path-to-trackzero}/TrackZeroClient.php';
				
			

Creating instance of TrackZero #

Simply, create a new instance of TrackZero and pass your API Key.
				
					$trackZero_client = TrackZeroClient("{your api key here}");
				
			

SDK Source Code #

The TrackZero SDK for PHP is open source. It is available on GitHub here.