1. Go to this page and download the library: Download vodka2/vk-audio-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/ */
vodka2 / vk-audio-token example snippets
use Vodka2\VKAudioToken\TokenFacade;
$login = "+71234567890";
$pass = "12345";
// print token and User-Agent
// setting User-Agent is mandatory when querying the API!
var_export(TokenFacade::getKateToken($login, $pass));