Download the PHP package atdev/rocket-chat without Composer
On this page you can find all versions of the php package atdev/rocket-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download atdev/rocket-chat
More information about atdev/rocket-chat
Files in atdev/rocket-chat
Package rocket-chat
Short Description Rocket Chat REST API PHP Wrapper Library
License MIT
Homepage https://github.com/alekseykuleshov/rocket-chat
Informations about the package rocket-chat
Rocket Chat Rest API PHP Wrapper Library
This is a wrapper for Rest API of Rocket Chat: https://developer.rocket.chat/reference/api/rest-api
Installation
This library is installed via Composer. You will need to require atdev/rocket-chat
:
How to use
LOGIN
GET CURRENTLY LOGGED IN USER
LOGOUT
Now, when you are logged in, you can:
Manage Users
Manage Channels
Manage Groups
Manage Messages
Manage Ims
Manage Roles
Unit tests
Tests are run by ./vendor/bin/phpunit tests
. Although the library code is designed to be compatible with php 5.6
, testing
requires php 7.3
as minimum because of phpunit
version 9
.
PHP Code Fixer
PHP-CS-Fixer is used to fix automatically coding standard issues.
.php_cs.dist
is set to handle PSR-12 coding style.
To lint code against code style run ./vendor/bin/php-cs-fixer fix --verbose --show-progress=estimating --dry-run
.
To fix code styles automatically run above command without --dry-run
option.
All versions of rocket-chat with dependencies
guzzlehttp/guzzle Version ^6.0 || ^7.0
egulias/email-validator Version >=2.0
doctrine/collections Version ^1.0 || ^2.0