updivision / matrix-php-sdk by alinupdivision

Matrix SDK for PHP
25,351
21
5
Package Data
Maintainer Username: alinupdivision
Maintainer Contact: alin@updivision.com (Alin Ghitu)
Package Create Date: 2017-07-12
Package Last Update: 2021-03-07
Home Page: http://matrix.org/docs/api/client-server/
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:09:08
Package Statistics
Total Downloads: 25,351
Monthly Downloads: 561
Daily Downloads: 34
Total Stars: 21
Total Watchers: 5
Total Forks: 6
Total Open Issues: 0

Matrix.org PHP SDK

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