PHPackages                             egarabini/laravel-rocket-chat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. egarabini/laravel-rocket-chat

ActiveLibrary

egarabini/laravel-rocket-chat
=============================

Rocket Chat REST API client for Laravel 7.x.

0.0.13(5y ago)02.1kMITPHP

Since Apr 2Pushed 5y agoCompare

[ Source](https://github.com/egarabini/laravel-rocket-chat)[ Packagist](https://packagist.org/packages/egarabini/laravel-rocket-chat)[ RSS](/packages/egarabini-laravel-rocket-chat/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

laravel-rocket-chat is a rest client package for Laravel to communicate with Rocket.Chat API.

How to install
--------------

[](#how-to-install)

```
composer require egarabini/laravel-rocket-chat
```

Config &amp;&amp; Facades
-------------------------

[](#config--facades)

Open your Laravel config file config/app.php and in the `$providers` array add the service provider for this package.

```
\Timetorock\LaravelRocketChat\Provider\LaravelRocketChatServiceProvider::class
```

Publish config for admin user
-----------------------------

[](#publish-config-for-admin-user)

Generate the configuration file running in the console (only if you added LaravelRocketChatProvider) :

```
php artisan vendor:publish --tag=config

```

Write api url, admin credentials, otherwise you'll need to login as user to make requests. By default this package login as admin to make requests.

Example
-------

[](#example)

```
