---
title: "Laravel"
url: https://docs.corefinity.com/guides/platforms/laravel
type: guide
last_updated: 2026-11-13
feature: laravel
related:
  - https://docs.corefinity.com/api/reference/runtime/get-site-laravel-queues.md
  - https://docs.corefinity.com/mcp/tools/corestack_site_laravel_queues_get.md
---
# Laravel

What a Laravel site has on Corefinity, what differs there, and its queue workers and scheduler.

A Laravel site runs on PHP, nginx, MariaDB and Redis, with queue workers and the scheduler already running. A new site is an empty site to deploy into, or a fresh application with no admin login.

## What differs on Corefinity

|               |                                                                                                                                                       |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Configuration | The application's `.env` reads the database settings from the site (`DB_*`).                                                                          |
| Deployments   | `.env` and `storage` are kept between deployments. See [Connect a repository](/guides/sites/code-and-deployments/connect-a-repository).               |
| Migrations    | A deployment runs `php artisan migrate --force` only when its pipeline is set to. See [Pipeline](/guides/sites/code-and-deployments/pipeline-stages). |
| Queue workers | Workers run `php artisan queue:work` beside the site: 1 on sizes S and M, 2 on L.                                                                     |
| Scheduler     | `php artisan schedule:run` runs every minute as a built-in scheduled task. See [Scheduled tasks](/guides/sites/site-settings/scheduled-tasks).        |
| Web root      | `public`, with uploads in `storage/app/public`.                                                                                                       |

## Queue workers and scheduler

**Software & services** adds **Queue workers** and **Scheduler** to the **Services** card.

_Screenshot: Software & services on a Laravel site. The Services card lists Laravel, PHP, Database and Node.js, then Queue workers reading Running, with its worker and memory, and Scheduler with schedule:run every minute, each with Details…._

**Details…** beside **Queue workers** shows the command the workers run and the jobs waiting on each queue.

**Reload workers** makes them finish their current job, then start again on the latest code; deployments do this for you.

_Screenshot: The Queue workers dialog of a Laravel site: one worker running php artisan queue:work, then each queue with its waiting, delayed and in-progress jobs._

## The Laravel section

The site page has a **Laravel** section, under **Overview**. Each tool shows the Artisan command it runs; [Platform tools](/guides/sites/create-and-manage/platform-tools) covers running them.

_Screenshot: The Laravel section of a site page. Laravel tools lists Clear caches, the queue workers tool, Run migrations and Link storage, each with a Run button._

| Tool                     | What it does                                                                      |
| ------------------------ | --------------------------------------------------------------------------------- |
| **Clear caches**         | Clears the config, route, view, event and application caches.                     |
| **Reload queue workers** | Tells the workers to finish their current job and start again on the latest code. |
| **Run migrations**       | Runs outstanding migrations. A backup is taken first unless you untick it.        |
| **Link storage**         | Creates the `public/storage` link to `storage/app/public`.                        |

## Related

- [Create a site](/guides/sites/create-and-manage/create-a-site): Add a site to a CoreCluster.
- [Migrate Laravel](/guides/migrate/migrate-laravel): Move a Laravel application with an assistant.
- [Platform tools](/guides/sites/create-and-manage/platform-tools): Run your platform's maintenance commands.
