Laravel VPS Deployment: A Release Checklist
A Laravel VPS release needs more than a Git pull. Check the PHP runtime and web root, protect configuration, review database changes, restart long-lived services and verify meaningful application behavior before accepting the deployment.
A Laravel deployment is ready when the code, runtime, configuration, database and background processes can work together, not merely when a web page returns a response. Treat each release as an explicit change with an owner, a verification plan and a recovery decision. This checklist applies to a VPS you administer; adapt the details to the application and the versions actually installed.

Confirm the runtime and public boundary
Accept a Laravel release only after the runtime, database, web requests and background jobs work together. Review migration compatibility and a recovery decision before switching traffic.
Start with the framework version in the locked dependencies and identify the PHP interpreter used by both the web server and command-line jobs. The CLI version can differ from the PHP-FPM pool serving requests. Check the enabled extensions in each environment, then compare them with the requirements of the framework and your application's packages. A successful command-line check alone does not prove the web runtime is correct.
The Laravel release notes list supported PHP ranges and framework support dates. The following chart shows the minimum PHP minor in that table, not a recommendation to deploy an unsupported framework version. Laravel 10 and 11 are past their listed security support dates as of 29 November 2026. Framework, PHP and dependencies all need their own support review.
Minimum PHP version by Laravel major
Minimum supported PHP minor, not a support recommendation
- Laravel 108.1
- Laravel 118.2
- Laravel 128.2
- Laravel 138.3
View chart data
| Item | PHP version | Note |
|---|---|---|
| Laravel 10 | 8.1 | |
| Laravel 11 | 8.2 | |
| Laravel 12 | 8.2 | |
| Laravel 13 | 8.3 |
Set the web server document root to the release's public directory, not the project root. Laravel's deployment documentation warns that serving the project root can expose sensitive files. Confirm routing to public/index.php, TLS, hostname and the intended PHP-FPM socket. Verify that the application can write to storage and bootstrap/cache without making the whole project writable to everyone.
Check free disk space and inode availability in the release, log and temporary directories. Verify the server clock, DNS and outbound access needed by the application. Establish who owns the host, who can make a production change and who will respond if the release must stop. These mundane checks avoid confusing infrastructure failure with a code regression.
Prepare configuration without exposing secrets
Record which configuration belongs to the environment rather than the source tree: application key, database and cache connections, mail delivery, service credentials and storage. Provide those values through a protected environment file or secret delivery mechanism outside the repository. Restrict access to the deploy identity and runtime as appropriate. Do not paste actual values into release tickets or build logs.
Confirm APP_DEBUG is false in production. Laravel warns that debug output can disclose sensitive configuration. Preserve the existing application key when deploying an existing application; changing it casually can make previously encrypted data and sessions inaccessible. Confirm the correct production endpoints without printing credentials, and ensure a test or staging environment cannot send real customer messages or charge live accounts.
Laravel supports caching configuration, routes, events and views during deployment. Build those caches only after the target environment is in place, and keep generated configuration caches protected because they can contain resolved secrets. Once configuration is cached, the framework does not load .env on every request; application code should use configuration values rather than calling env outside configuration files. Do not indiscriminately run cache-clearing commands against shared production caches.
Review the change and database plan
Identify the exact revision, dependency lock files, build inputs and release artifact. Review pending migrations and their expected locking, duration and storage requirements with the database owner. The migration documentation describes php artisan migrate:status for inspecting migration state and --pretend for previewing migration SQL. Run inspection against the intended database, using an appropriately authorized account; preview output is not a substitute for testing against representative data.
Decide whether the old release can operate with the new schema and whether the new release tolerates the old schema during the switch. Adding a compatible column before using it is often safer than removing an old one immediately. Test actual database behavior, including constraints and backfills. A change that is safe on a small staging copy may still lock a busy production table. Agree on a maintenance window when compatibility cannot be maintained.
Take and verify the appropriate recovery point before a risky change, and make the restore owner and acceptable data-loss window explicit. A backup existing somewhere is not proof it can be restored. A code rollback does not reverse the data written by the new release, and a migration's down method may discard valuable information. The code and database rollback guide covers that decision.
| Gate | Evidence to capture | Stop if |
|---|---|---|
| Runtime | Web and CLI PHP, extensions, public root | Requirements or permissions differ |
| Configuration | Target environment and secret access checked | Production keys or destinations are uncertain |
| Database | Migration review and tested recovery plan | Old code cannot safely use the resulting schema |
| Background work | Worker and scheduler restart plan | Jobs may run incompatible code |
| Acceptance | Health and business-flow checks | Errors or data inconsistencies exceed the agreed threshold |
Coordinate workers and scheduled tasks
Queue workers are long-lived and do not automatically load newly deployed application code. The Laravel queue documentation describes graceful worker restarts after deployment and a process monitor to start replacement workers. Confirm the monitor is configured, the restart signal reaches the workers through the intended cache and new processes actually boot the intended release. A successful command invocation is not proof that every worker has changed version.
Account for jobs in flight, retry behavior, job payload compatibility and external side effects. A payment or email may already have been sent even if its job later fails. Do not clear queues or blindly retry every failure to make a dashboard look healthy. Record queue depth and failed-job state before the switch, then compare after it. If a release requires pausing consumers, agree on how long the backlog can grow and how processing will resume.
For scheduled work, inspect the deployed schedule with php artisan schedule:list from the intended release and account. Laravel's scheduling documentation explains the server scheduler entry and deployment considerations for sub-minute tasks. Confirm only the intended host runs each task, locks are shared where required, and the scheduler uses the new release path. A scheduler listing is not evidence that cron is actually executing or a business task completed.
Switch, verify and accept
Build and test the release before sending traffic to it. Record the currently active artifact and make the traffic switch according to the team's deployment mechanism. If several hosts serve the application, consider the compatibility window while both releases are active. Review the Git release boundaries guide for separating immutable application code from shared state.
Laravel documents a default /up health route that indicates whether the application booted without an exception. Your application may configure a different route or additional checks. An application boot response is useful but does not prove a database write, worker execution, scheduled task, login or critical customer journey works. Probe an authenticated flow with a designated test account, verify an appropriate read or reversible test write, and inspect error logs and monitoring. Avoid making real purchases or sending messages as a smoke test.
Compare error rate, queue behavior and application signals with the expected baseline. Have an operator explicitly accept or reject the release and record the decision, deployed revision, migration state and evidence. If acceptance fails, stop further changes and follow the recovery decision rather than repeatedly deploying unreviewed fixes. Continue monitoring after traffic returns; problems can appear only when real workloads or scheduled jobs run.
Before the release, walk through the sequence with both the application and infrastructure owners. Identify which account runs each step and which host is responsible when the system spans more than one server. Record the intended order of traffic changes and database changes, as well as the exact conditions that require a pause. Verify that the previous artifact remains accessible and that the incident contact can reach the team responsible for backups. Agree how customer communications will be handled if the release is delayed. Finally, check that monitoring reaches a person who can respond; a dashboard nobody watches is not an acceptance process. Rehearsing these decisions before a change keeps an operator from improvising while production is under pressure.
Sora Panel is not released yet. Read how it works on the homepage and explore the Guides library.
Frequently asked questions
Is a successful health route enough to accept a release?
No. It shows what that route checks, not whether critical transactions, jobs and scheduled tasks work.
Should I restart Laravel queue workers after deployment?
Yes, arrange a graceful restart and verify the process monitor starts workers on the intended release. Review migration compatibility and a recovery decision before switching traffic.
Does rolling back the release undo migrations?
No. Code and database state are separate; evaluate compatibility and data recovery independently.
Where should the web server root point?
To the application's public directory, not the repository root. Review migration compatibility and a recovery decision before switching traffic.
Sources
- Laravel release and support policy (viewed 2026-11-29)
- Laravel deployment (viewed 2026-11-29)
- Laravel migrations (viewed 2026-11-29)
- Laravel queues (viewed 2026-11-29)
- Laravel scheduling (viewed 2026-11-29)
Sora Panel is not released yet. Read how it works on the homepage.