###Installing
composer require hanishkumar/chatapp
Add to config/app.php the following line to the 'providers' array:
Hanish\ChatApp\ChatAppServiceProvider::class,
Publish Migrations
php artisan migrate
Publish Asserts To Public Folder to install basic theme for chat
php artisan vendor:publish
To Include ChatBox In Your Master Page Just Add after all scripts at end
@if(!empty(Auth::user()->id))
@include('chat::directChat')
@endif