Oct 16, 2017
2
Level 4
How to run php artisan serve and queue on the same time in cmd?
I use cmd to run my application, i need to run php artisan serve in order to start my application. I push something into the queue, and i need to use php artisan listen:queue to run the job. Now i need to manually stop application and change command to php artisan listen:queue to perform the job, how can i run the queue automatically whenever there's job stored in database? I also referred to https://laravel.com/docs/5.5/queues#supervisor-configuration but i don't understand how it works. Anyone can guide me? Thanks.
Please or to participate in this conversation.