Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.2 KB

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