PHP code example of otis22 / vetmanager-token
1. Go to this page and download the library: Download otis22/vetmanager-token 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/ */
otis22 / vetmanager-token example snippets
use function Otis22\VetmanagerToken\credentials;
use function Otis22\VetmanagerToken\token;
$credentials = credentials('login', 'password', 'app_name');
$domainName = 'myclinic'; // first part from programm url address
echo token($credentials, $domainName)->asString();