baklysystems/laravel-chat-messenger

Laravel chat package
1,848 12
Install
composer require baklysystems/laravel-chat-messenger
Latest Version:1.7
License:MIT
Last Updated:Sep 30, 2018
Links: GitHub  ·  Packagist
Maintainer: elbakly

Laravel Chat Messenger

A Laravel JQuery chat that is just like Facebook chat

Installation

Laravel Messenger supports Laravel 5.3 and higher.

Package

Require via composer

$ composer require baklysystems/laravel-chat-messenger

In config/app.php file

'providers' => [
    ...
    BaklySystems\LaravelMessenger\LaravelMessengerServiceProvider::class,
    ...
];

'aliases' => [
    ...
    'Messenger' => BaklySystems\LaravelMessenger\Facades\Messenger::class,
    ...
];

Laravel Messenger Files

Then, run php artisan vendor:publish to publish the config file, MessageController and assets and routes.

Laravel Messenger Styles and Scripts

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

Laravel Messenger Pusher

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}.

Customization

Migrations

To publish and edit messenger migrations, run the publish command with messenger-migrations tag.

$ php artisan vendor:publish --tag messenger-migrations

Views

To publish and edit messenger views, run the publish command with messenger-views tag.

$ php artisan vendor:publish --tag messenger-views

TODO

  • emotions.
  • upload photos.
  • Attach files.
  • Show date before every conversation beginning.
  • paginate and load threads.
  • Laravel Messenger chatbox.
  • Unauthenticated chatbox to message customer service.

Related Packages

eyaylagul/talk

Talk is a Laravel 5 based realtime messaging, chatting and conversation system....

5 0
nahid/talk

Talk is a Laravel based realtime messaging, chatting and conversation system. It...

60,215 1,621
laravelvue/talk

Laravel chat is a Laravel 5+ based realtime messaging, chatting and conversation...

8 2
basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4,206 497