How to create chat application in laravel
In this video, i will show you how to Building simple chat application using Laravel. This is a tutorial to help you add a chat functionality to your Laravel web application.
How to Create Chat Application in laravel project
to follow this steps:
1. Create ChatController.php
we can create ChatController Using following Command :
php artisan make:controller ChatController
2. Create Chat.php model
we can easily create model using following command :
php artisan make:model Chat --migration
3. Create like.php model
we can create model using following command :
php artisan make:model like --migration
4. Create Dashboard.blade.php
if you want to create blade.php file just go to resources folder and then right click on views folder and create new file and give name as Dashboard.blade.php
This comment has been removed by the author.
ReplyDeleteHey Nice write up, keep Writing, Do you know you can also post your laravel related articles
ReplyDeleteon http://www.laravelinterviewquestions.com/submit-an-article too.
Thanks !