Logo Laravel Stack

Development

Laravel Stack

PHP-FPM, Nginx, PostgreSQL, Redis and Supervisor — a production-ready Laravel stack from the moment you order.

About Laravel Stack

The Laravel Stack template configures your VPS with all the components needed to deploy a Laravel application in production: PHP 8.3-FPM, Nginx, PostgreSQL, Redis and Supervisor. All the PHP extensions required by Laravel are preinstalled, filesystem permissions are correctly configured, and Supervisor keeps your queue workers running at all times.

You order the VPS and clone your repository — without spending hours configuring the server environment. The template follows the official Laravel recommendations for production, with performance optimizations (OPcache, connection pooling) already in place.

What gets installed

Ready when the VPS starts

Compatible OS
Ubuntu 24.04
Application
Laravel Stack
Tech stack
PHP 8.3-FPMNginxPostgreSQL 15RedisSupervisorComposer
Minimum RAM
2 GB
Minimum CPU
1 vCPU
Access
root over SSH

Key features

  • PHP 8.3-FPM with all the Laravel extensions
  • Nginx configured for Laravel (try_files, security headers)
  • PostgreSQL 15 with user and database created
  • Redis for Laravel sessions, cache and queues
  • Supervisor configured for queue workers
  • Composer installed globally, OPcache enabled

When to use this solution?

Production deployment

Deploy an existing Laravel application with no manual server configuration — git clone, composer install, and it's live.

Laravel SaaS

A solid foundation for a SaaS product: queues, caches, persistent sessions and background workers.

Laravel REST API

An optimal environment for a high-performance Laravel API with Redis and a persistent connection to PostgreSQL.

Guide

Deploy Laravel Stack on your VPS

  1. Create the VPS

    Order your VPS and select the "Laravel Stack" template. Minimum 2 GB RAM for Laravel in production.

  2. Clone your project

    Connect over SSH. Clone your repository into /var/www/votre-app. Run composer install --no-dev --optimize-autoloader.

  3. Configure the environment

    Copy .env.example to .env. Set DB_HOST=localhost, DB_DATABASE, DB_USERNAME, DB_PASSWORD, REDIS_HOST=localhost.

  4. Initialize the application

    Run php artisan key:generate, php artisan migrate --force, php artisan config:cache, php artisan route:cache.

  5. Configure the domain

    Edit the Nginx virtualhost with your domain and obtain your SSL with certbot --nginx.

Frequently asked questions

Questions about Laravel Stack

← Back to DevelopmentAll applications
php8.3-fpm, mbstring, xml, bcmath, curl, zip, intl, redis, pgsql, gd, tokenizer. All the extensions required by a standard Laravel project.

Embed the deploy button

Maintaining a project that uses Laravel Stack? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.

Deploy Laravel Stack on ServOrbit
Markdown
[![Deploy Laravel Stack on ServOrbit](https://servorbit.com/brand/deploy/button.svg)](https://servorbit.com/vps-cloud?template=laravel-stack&utm_source=deploy-badge&utm_medium=referral&utm_campaign=laravel-stack)
HTML
<a href="https://servorbit.com/vps-cloud?template=laravel-stack&utm_source=deploy-badge&utm_medium=referral&utm_campaign=laravel-stack"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy Laravel Stack on ServOrbit" height="40"></a>

The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.

Message us on WhatsAppopens in a new tab