Laravel Queues

Laravel Queues are a powerful feature that allows you to defer the processing of a time-consuming task. This guide will walk you through how to use Laravel Queues with Spin.

Installation

To install Laravel Queues, you will be prompted to include the Laravel Queues service on install. You simply just need to select it.

Install Laravel Queues

What Spin does for you

When you install Laravel Queues, Spin will set up a dedicated "Queue" service for you. By default, the service runs the following command:

Default Command

php artisan queue:work --tries=3

Usage

When you run spin up, the queue service will automatically run.