How to Configure supervisord on Linux for Laravel Jobs Queue

This quick tutorial help to configure Supervisor with Lumen application on Linux.I have already shared tutorial about Queue and Run Jobs using worker in Lumen/Laravel Framework. Supervisor is a process monitor for the Linux operating system, which will automatically restart your jobs queue using queue:listen or queue:work commands if they fail. You can install Supervisor […]

Continue reading


How to Play with Data Using Laravel Collection Methods

laravel-collection-method-example

This tutorial explains about how to work with Laravel collection with Eloquent. I will provide all popular methods of laravel collection. You can convert any PHP array data into the collection and vice-versa as well. The Illuminate\Support\Collection class provides a fluent, convenient wrapper for working with arrays of data into Laravel application. The Laravel Eloquent […]

Continue reading


Laravel Eloquent Queries with Eager Loading

Laravel Eloquent has many in-built functionalities for data layer, The one of them is eager loading on dataset. The Eloquent help to solve N+1 queries problem.The eager loading can drastically increase the performance of your application. The eager work with relational data set, that mean you need to define relational between two tables or many […]

Continue reading


How to Monitor Beanstalkd Queue In Laravel Using Admin Console

beanstalkd-admin-console-ui

This laravel tutorial help to integrate beanstalkd console admin ui with laravel application. I will use Beanstalkd Admin UI plugin to implement beanstalk console view into bootstrap template. You can see you working queue process into admin ui using http:///beanstalkd/tubes in your browser.You can get more statistics about beanstalkd like how many jobs process,ready jobs, […]

Continue reading