This demo was built while Laravel Surat Dec 2019 Chapter Meetup to showcase a Laravel Broadcasting Capabilities. It incldues the following things in the demo:
- Store Visitor Object while visiting home page
- Update Visitors count on home page in real-time
- Clone the Repo
- Run
composer install
- Run
npm install
- Setup your
.env
- Setup Pusher credentials
- Run migrations
- Run
npm run dev
- Visit Home page (Total visitors count should be 1)
- Visit Home page in another browser
And count in first browser should be updated automatically.
The Laravel framework is open-sourced software licensed under the MIT license.