devuniverse/laravelchat is a Laravel package for laravel chat package.
It currently has 0 GitHub stars and 9 downloads on Packagist (latest version v1.4).
Install it with composer require devuniverse/laravelchat.
Discover more Laravel packages by devuniverse
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel JQuery chat that is just like Facebook chat
Laravel Messenger supports Laravel 5.3 and higher.
Require via composer
$ composer require baklysystems/laravel-chat-messenger
In config/app.php file
'providers' => [
...
Devuniverse\Laravelchat\LaravelMessengerServiceProvider::class,
...
];
'aliases' => [
...
'Messenger' => Devuniverse\Laravelchat\Facades\Messenger::class,
...
];
Then, run php artisan vendor:publish to publish the config file, MessageController and assets and routes.
Make sure to add @yield('css-styles') in your app/master head section and @yield('js-scripts') to your app/master scripts section, or edit section naming in view/vendor/messenger/messenger.blade.php
JQuery is required for the messenger script.
Make sure to add include('messenger.php'); to your web.php
Add your pusher keys in config/messenger.php file.
And voila, you can start conversation with any user by linking to your-domain.com/messenger/t/{userId}.
To publish and edit messenger migrations, run the publish command with messenger-migrations tag.
$ php artisan vendor:publish --tag messenger-migrations
To publish and edit messenger views, run the publish command with messenger-views tag.
$ php artisan vendor:publish --tag messenger-views