Build Status Total Downloads Latest Stable Version License

Steps:

  • laravel new ChatApplication (create project)
  • composer require laravel/ui
  • php artisan ui vue --auth

Install Vue3

- npm install vue@next vue-loader@next
- remove package.lock.json
- remove node_modules folder
- run : `npm install`

laravel-socket

- - [Read the documentation](https://beyondco.de/docs/laravel-websockets/getting-started/introduction)

Laravel echo

- [Laravel Broadcasting - echo ](https://laravel.com/docs/8.x/broadcasting)

run project :

- php artisan serve 
- php artisan websockets:serve
- npm run watch 

Output

alt text