Php Api client for the c# musicbot Ts3AudioBot for the laravel artisan framework
- Use following command to install:
composer require rexlmanu/ts3audiobot
Only when for laravel below 5.4:
- Add the service provider to your
providers[]
array inconfig/app.php
file like:
rexlManu\Ts3AudioBot\Providers\Ts3AudioBotServiceProvider::class
- Add the alias to your
aliases[]
array inconfig/app.php
file like:
'Ts3AudioBot' => rexlManu\Ts3AudioBot\Facades\Ts3AudioBot::class
Following are some ways through which you can access the ts3audiobot provider:
// Import the class namespaces first, before using it directly
use rexlManu\Ts3AudioBot\Facades\Ts3AudioBot;
$instance = Ts3AudioBot::instance('your address', 58913, 'your token', true);
$instance->bot(1)->play(rawurlencode('https://www.youtube.com/watch?v=yHwGIA4VeOc'));
$instance->help();
$instance->systemInfo();
This plugin only supports Laravel 5.1 or greater.
- In case of any issues, kindly create one on the Issues section.
- If you would like to contribute:
- Fork this repository.
- Implement your features.
- Generate pull request.