/matrix-php-sdk

Matrix SDK for PHP - Laravel

Primary LanguagePHPMIT LicenseMIT

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