monitoring-laravel-queues
monitoring-laravel-queues copied to clipboard
This is a sample on how you can monitor your Laravel background queues in realtime using Pusher.
Monitoring your Laravel background queues in realtime using Pusher and Vue
This is a sample on how you can monitor your Laravel background queues in realtime using Pusher.

Getting Started
- Download or clone the project.
- Rename the
.env.examplefile to.env. - Update the
PUSHER_APP_*keys in the.envfile. - Set up a Mailtrap account and update the keys in the
.envfile. - Update the
DB_*keys in the.envfile so it connects to a database. - Open the
config/broadcasting.phpand set theclusterfor your Pusher application. - Run the command
php artisan migrateto migrate the database. - Run the command
npm installto install the frontend dependencies includine Vue. - Run the command
npm run prodto build our assets. - Run the command
php artisan serveto start the PHP application. - In a separate Terminal window, run the command
php artisan queue:listento listen for queued events.
Requirements
- PHP 7.0+ installed on your machine.
- Laravel CLI installed on your machine.
- Composer installed on your machine.
- Knowledge of PHP and Laravel.
- Node.js and NPM installed on your machine.
- Basic knowledge of Vue.js and JavaScript.
- A Pusher application. Create one here.
- A Mailtrap account to test emails sent. Create one here.