An open API service indexing awesome lists of open source software.

https://github.com/updivision/matrix-php-sdk

Matrix SDK for PHP - Laravel
https://github.com/updivision/matrix-php-sdk

api client laravel matrix sdk updivision

Last synced: 5 months ago
JSON representation

Matrix SDK for PHP - Laravel

Awesome Lists containing this project

README

          

# 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](http://matrix.org/docs/api/client-server/) 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:

```php
'providers' => [
// Other service providers...

Updivision\Matrix\MatrixServiceProvider::class,
],
```

Also, add the `Matrix` facade to the `aliases` array in your `app` configuration file:

```php
'Matrix' => Updivision\Matrix\Facades\Matrix::class,
```

## Contributing

Thank you for considering contributing to the Matrix PHP SDK! Please read [CONTRIBUTING](CONTRIBUTING.md) 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](CODE_OF_CONDUCT.md).

## License

Matrix PHP SDK is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)