updivision / matrix-php-sdk
Matrix SDK for PHP
Installs: 27 526
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 5
Forks: 7
Open Issues: 0
Type:package
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0|~5.0
This package is not auto-updated.
Last update: 2024-11-24 03:19:36 UTC
README
This is a package for using a Matrix chat client into a Laravel Project.
Official Documentation
You can find the Matrix Client-Server API documentation on Matrix.org website.
To get started with Matrix PHP SDK, use Composer to add the package to your project's dependencies:
composer require updivision/matrix-php-sdk
Configuration
After installing the Matrix PHP SDK, register the Updivision\Matrix\MatrixServiceProvider
in your config/app.php
configuration file:
'providers' => [ // Other service providers... Updivision\Matrix\MatrixServiceProvider::class, ],
Also, add the Matrix
facade to the aliases
array in your app
configuration file:
'Matrix' => Updivision\Matrix\Facades\Matrix::class,
Contributing
Thank you for considering contributing to the Matrix PHP SDK! Please read CONTRIBUTING for details.
Code of Conduct
In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.
License
Matrix PHP SDK is open-sourced software licensed under the MIT license