fkubis / teamspeak-php-framework
Clone of TS3 PHP Framework 1.1.23 providing the library as composer project.
Installs: 2 927
Dependents: 1
Suggesters: 0
Security: 0
Stars: 18
Watchers: 5
Forks: 5
Open Issues: 1
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2025-01-04 17:33:19 UTC
README
Clone of TS3 PHP Framework 1.1.23 providing the library as composer project including namespaces and follow the PSR-4 Standard.
Usage
Install via composer:
"require": {
"fkubis/teamspeak-php-framework": "dev-master"
},
Skipp the required_once part of official documentation and replace it with use TeamSpeak3\TeamSpeak3 statement.
Examples:
namespace Foo; use TeamSpeak3\TeamSpeak3; class TeamSpeak3Adapater { private $ts3; public __construct() { $this->ts3 = TeamSpeak3::factory("serverquery://username:password@127.0.0.1:10011/?server_port=9987"); } public writeMessage($message) { $this->ts3->message($message); } }
For more information visit the official documentation.