1. Go to this page and download the library: Download dbatten5/textline-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dbatten5 / textline-php example snippets
$apiKey = "ZZZZZZZZ"; // Your account api key
$email = "[email protected]"; // Email address of the agent
$password = "XXXXXX"; // Password associated with the email address above
$token = 'YYYYYYYY'; // Can be left null
$client = new Textline\Client($email, $password, $apiKey, $token);