dev-master
9999999-devData structure for containing information about a Slack client connection, analogous to Phergie\Irc\Connection
BSD-2-Clause
The Requires
- php >=5.3.3
The Development Requires
server client slack connection
Data structure for containing information about a Slack client connection, analogous to Phergie\Irc\Connection
A PHP data structure for containing client connection information per the Slack Real Time Messaging API., (*1)
Primarily used by Slack client implementations of the Phergie project., (*2)
The recommended method of installation is through composer., (*4)
{ "minimum-stability": "dev", "require": { "phergie/phergie-slack-connection": "1.1.0" } }
$connection = new \Phergie\Slack\Connection(); $connection->setToken('xoxb-##########'); $connection->setUsername('username'); $connection->setFirstName('hostname'); $connection->setLastName('servername'); $connection->setOption('option', 'value'); echo $connection->getToken(); echo $connection->getUsername(); echo $connection->getFirstName(); echo $connection->getLastName(); echo $connection->getOption('option');
To run the unit test suite:, (*5)
curl -s https://getcomposer.org/installer | php php composer.phar install ./vendor/bin/phpunit
Released under the BSD License. See LICENSE
., (*6)
Check out #phergie on irc.freenode.net., (*7)
Data structure for containing information about a Slack client connection, analogous to Phergie\Irc\Connection
BSD-2-Clause
server client slack connection