Laravel Hosting Requirements
Laravel is a professional PHP framework that demands more from hosting than WordPress or static sites. Unlike CMS platforms with one-click installers, Laravel requires SSH access, Composer, and specific PHP extensions — requirements that disqualify most budget shared hosting.
This guide is based on hands-on Laravel 11 deployments across 7 hosting providers, measuring Artisan CLI access, queue worker reliability, and response times under load over 60 days.
Minimum Requirements for Laravel 11
- PHP 8.2+ — Laravel 11 requires PHP 8.2 minimum. Laravel 10 supports PHP 8.1+. Always use the latest stable PHP version for security patches and performance.
- Composer — Laravel's dependency manager. Must be available via SSH. Shared hosts without SSH or with restricted Composer access cannot run Laravel properly.
- SSH/Terminal access — Required for Artisan commands, migrations, queue workers, and Composer operations. This is the single biggest requirement that eliminates most shared hosting.
- PHP Extensions — BCMath, Ctype, cURL, DOM, Fileinfo, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, XML. Most VPS/cloud hosts include all of these.
- Node.js + NPM — Required for Vite asset compilation (replaced Mix in Laravel 10+). The build step runs during deployment.
- Database — MySQL 5.7+, MariaDB 10.3+, PostgreSQL 10+, or SQLite 3.35+. PostgreSQL is increasingly preferred for complex queries.
Why Shared Hosting Fails for Laravel
Most shared hosting plans lack SSH access, restrict Composer execution, don't support queue workers (supervisor/daemon processes), and provide no way to configure environment variables securely. Even hosts with SSH often restrict process execution time to 30 seconds — insufficient for database migrations, queue processing, or Artisan commands on large datasets. Laravel needs a VPS, cloud server, or purpose-built platform.
Laravel Forge vs. Manual Server Setup
Laravel Forge ($12/mo) automates server provisioning on DigitalOcean, Vultr, AWS, or other cloud providers. It configures Nginx, PHP-FPM, MySQL/PostgreSQL, Redis, SSL, queue workers, and deployment scripts automatically. For teams without a dedicated DevOps engineer, Forge eliminates 90% of server management overhead. Laravel Vapor (serverless on AWS Lambda) removes server management entirely but adds complexity for websockets and long-running processes.
Top 7 Laravel Hosts
1. Cloudways — Best Overall Laravel Hosting
From $14/mo | PHP 8.2 | SSH + Git | Rating: 9.2/10
Cloudways is purpose-built for PHP frameworks like Laravel. Every server includes SSH access, Git deployment, Composer, Redis, Memcached, and configurable PHP-FPM — everything Laravel needs out of the box. Their one-click Laravel installer sets up the framework with proper directory permissions, environment configuration, and Artisan access. Deployment is handled through Git push or their built-in deployment system. During testing, our Laravel 11 API processed 850 requests/second on a $26/mo DigitalOcean server — impressive for the price point. Supervisor for queue workers runs reliably, and their staging environment feature lets you test deployments before pushing to production.
Pros: Full SSH + Git + Composer, Redis built-in, one-click Laravel install, configurable PHP-FPM, server cloning for staging
Cons: $14/mo minimum, no email hosting, limited cron job granularity on lower tiers, no root access
2. DigitalOcean — Best with Laravel Forge
From $4/mo (+ $12/mo Forge) | PHP 8.3 | Full Root | Rating: 9.0/10
DigitalOcean Droplets paired with Laravel Forge is the canonical Laravel hosting setup recommended by the framework's creator, Taylor Otwell. A $6/mo Droplet (1GB RAM, 25GB SSD) handles most Laravel applications comfortably. Forge automates everything — Nginx configuration, PHP-FPM tuning, MySQL/PostgreSQL setup, Redis installation, Let's Encrypt SSL, queue worker supervision, and zero-downtime deployments. The total cost ($6 + $12 Forge = $18/mo) gets you a fully managed Laravel server with complete control. For teams, Forge's deployment pipeline with GitHub/GitLab integration enables professional CI/CD workflows.
Pros: Official Forge integration, full root access, predictable pricing, excellent documentation, global data centers
Cons: Forge costs $12/mo extra, requires server management without Forge, no managed backups by default, no support for application-level issues
3. A2 Hosting — Best Shared Hosting for Laravel
From $2.99/mo | PHP 8.2 | SSH Access | Rating: 8.3/10
A2 Hosting is one of the few shared hosts that genuinely supports Laravel. Turbo plans include SSH access, Composer, and Git — the essential trio for Laravel deployment. Their LiteSpeed servers with NVMe storage deliver fast PHP execution, and the 256MB PHP memory limit accommodates most Laravel applications. However, there are limitations: no persistent queue workers (supervisor is not available on shared), cron jobs are limited to 15-minute intervals, and process execution time caps at 120 seconds. For simple Laravel applications without background jobs, A2 Hosting offers a cost-effective entry point.
Pros: SSH + Composer on shared hosting, LiteSpeed + NVMe, 256MB PHP memory, affordable Turbo pricing
Cons: No supervisor/queue workers, 120s max execution time, no Redis on shared, limited cron intervals, no root access
4. Hostinger VPS — Best Budget VPS for Laravel
From $5.49/mo | PHP 8.2 | Full Root | Rating: 8.5/10
Hostinger's VPS plans provide full root access, SSH, and the freedom to install any software Laravel requires — Supervisor, Redis, Elasticsearch, Node.js — at a price that undercuts DigitalOcean. The KVM 2 plan ($6.99/mo, 2 vCPU, 8GB RAM) handles Laravel applications serving 10,000+ daily requests without breaking a sweat. Hostinger provides a VPS control panel for basic management, but you'll need to configure the LEMP stack manually or use Forge/RunCloud. Their global data centers (US, EU, Asia, South America) provide low-latency options for any target audience.
Pros: $5.49/mo VPS with root access, generous RAM allocations, global data centers, Forge-compatible, full control
Cons: Unmanaged — you configure everything, no application-level support, basic VPS panel only, requires Linux knowledge
5. Vultr — Best Performance per Dollar
From $2.50/mo | PHP 8.3 | Full Root | Rating: 8.6/10
Vultr's High Performance instances use AMD EPYC processors and NVMe storage, delivering exceptional PHP execution speed. A $6/mo instance (1 vCPU, 1GB RAM, 25GB NVMe) outperforms comparably priced DigitalOcean Droplets in raw PHP benchmarks by 10-15%. Vultr supports Laravel Forge, RunCloud, and Ploi for automated management. Their 32 data center locations provide the widest geographic coverage for latency-sensitive applications. The Marketplace includes one-click Laravel images that pre-configure Nginx, PHP-FPM, MySQL, and Composer.
Pros: AMD EPYC + NVMe, 32 global locations, Forge-compatible, Laravel marketplace image, competitive pricing
Cons: Unmanaged by default, no application support, backup costs extra ($0.20/GB), smaller community than DigitalOcean
6. Railway — Best Modern Laravel PaaS
From $5/mo | PHP 8.3 | Git Deploy | Rating: 8.1/10
Railway provides a modern platform-as-a-service that deploys Laravel from a GitHub repository with zero server configuration. Push to main and Railway automatically builds your application, runs migrations, and deploys with zero downtime. Built-in PostgreSQL, Redis, and cron job support covers most Laravel requirements. The developer experience is exceptional — environment variables managed through a dashboard, real-time logs, and automatic SSL. The trade-off is cost at scale — resource-based pricing can exceed VPS costs for high-traffic applications.
Pros: Zero server management, Git-push deploys, built-in PostgreSQL + Redis, automatic SSL, excellent DX
Cons: Resource-based pricing scales expensively, no SSH access, limited customization, newer platform with smaller community
7. AWS (with Laravel Vapor)
From ~$20/mo | PHP 8.2 | Serverless | Rating: 8.4/10
Laravel Vapor ($39/mo) deploys Laravel applications on AWS Lambda, providing true serverless scaling. Your application scales from zero to thousands of concurrent requests automatically, and you pay only for compute time consumed. Vapor handles deployment, SSL certificates, CloudFront CDN, SQS queues, and RDS databases. For applications with unpredictable traffic (viral content, seasonal spikes), serverless eliminates over-provisioning costs. However, cold starts add 200-500ms latency on first requests, and Vapor's pricing ($39/mo + AWS costs) makes it expensive for consistently busy applications.
Pros: True serverless auto-scaling, pay-per-use, managed by Laravel team, SQS queue integration, CloudFront CDN
Cons: Vapor costs $39/mo + AWS usage, cold start latency, complex debugging, no SSH access, websocket limitations
Laravel Hosting Comparison
| Host | Price | Type | SSH | Queue Workers | Redis | Git Deploy | Best For |
|---|---|---|---|---|---|---|---|
| Cloudways | $14/mo | Managed Cloud | ✅ | ✅ Supervisor | ✅ Built-in | ✅ | Best Overall |
| DigitalOcean | $4/mo (+Forge) | Cloud VPS | ✅ | ✅ Supervisor | ✅ Install | ✅ Forge | Forge Users |
| A2 Hosting | $2.99/mo | Shared | ✅ | ❌ | ❌ | ⚠️ Manual | Simple Apps |
| Hostinger VPS | $5.49/mo | VPS | ✅ | ✅ Install | ✅ Install | ✅ Manual | Budget VPS |
| Vultr | $2.50/mo | Cloud VPS | ✅ | ✅ Install | ✅ Install | ✅ Forge | Performance |
| Railway | $5/mo | PaaS | ❌ | ✅ Built-in | ✅ Built-in | ✅ Auto | Modern PaaS |
| AWS + Vapor | ~$20/mo | Serverless | ❌ | ✅ SQS | ✅ ElastiCache | ✅ Vapor | Auto-Scaling |
Laravel Deployment Guide
Deploying with Laravel Forge
Forge is the recommended deployment method for most Laravel applications:
- Connect your server provider — Link DigitalOcean, Vultr, AWS, or other providers to Forge
- Create a server — Forge provisions Ubuntu with Nginx, PHP-FPM, MySQL/PostgreSQL, Redis, and Composer
- Add your site — Point to your Git repository (GitHub, GitLab, Bitbucket)
- Configure environment — Set .env variables through Forge's dashboard (database credentials, APP_KEY, queue driver)
- Deploy — Forge pulls your code, runs
composer install,npm run build,php artisan migrate, and restarts PHP-FPM with zero downtime
Manual VPS Deployment
For unmanaged VPS (DigitalOcean, Vultr, Hostinger VPS) without Forge:
- Install Ubuntu 22.04 LTS, then Nginx, PHP 8.2-FPM, MySQL/PostgreSQL, Redis, Composer, Node.js
- Configure Nginx virtual host pointing to
/var/www/yourapp/public - Clone your repository:
git clone your-repo /var/www/yourapp - Set permissions:
chown -R www-data:www-data storage bootstrap/cache - Copy
.env.exampleto.env, configure database and app settings - Run:
composer install --optimize-autoloader --no-dev - Run:
php artisan key:generate && php artisan migrate && php artisan config:cache && php artisan route:cache - Configure Supervisor for queue workers and set up cron for Laravel's scheduler
Zero-Downtime Deployment with Envoy/Deployer
For production applications, use Laravel Envoy or Deployer to implement zero-downtime deployments. These tools maintain multiple releases in separate directories, symlink the current release, and only switch the symlink after the new release is fully prepared. If deployment fails, the previous release remains active. Forge handles this automatically, but manual setups should implement it for any site serving real users.
Performance & Queue Optimization
Configuration Caching
Laravel's configuration, route, and view caching dramatically reduce response times in production:
php artisan config:cache— Merges all config files into a single cached file. Reduces config loading from ~20 file reads to 1. Re-run after any .env or config change.php artisan route:cache— Compiles routes into a serialized format. Reduces route registration from milliseconds to microseconds. Only works if all routes use controller classes (no closures).php artisan view:cache— Pre-compiles all Blade templates. Eliminates first-request compilation latency.php artisan event:cache— Caches event-to-listener mappings for faster event dispatching.
Queue Worker Configuration
Properly configured queue workers prevent memory leaks and ensure reliable background job processing:
- Use Supervisor to manage queue workers — it automatically restarts workers that crash or exceed memory limits
- Set
--max-jobs=1000and--max-time=3600to restart workers periodically, preventing memory bloat - Use Redis as the queue driver for best performance (database driver works but scales poorly)
- Set
--tries=3with exponential backoff for failed job retry - Monitor failed jobs with
php artisan queue:failedand set up alerts
OPcache and PHP-FPM Tuning
For Laravel applications, optimize PHP-FPM:
pm = dynamicwithpm.max_children= (available RAM MB / 40). For a 2GB server, that's ~50 children.pm.start_servers = pm.max_children / 4- OPcache:
opcache.memory_consumption=256,opcache.max_accelerated_files=20000(Laravel loads many files) - Enable
opcache.preloadwith Laravel's preload script for PHP 8.1+ — reduces first-request latency by 15-25%
Database Optimization
Laravel's Eloquent ORM can generate inefficient queries without careful attention:
- Use
php artisan telescopein development to identify N+1 queries, slow queries, and unnecessary eager loading - Add database indexes for columns used in WHERE, ORDER BY, and JOIN clauses
- Use
select()to limit columns returned — Eloquent fetches all columns by default - Cache frequently accessed queries with
Cache::remember()backed by Redis
FAQ
Frequently Asked Questions
Can I run Laravel on shared hosting?
Technically yes, but with significant limitations. A2 Hosting's Turbo plan provides SSH and Composer access for basic Laravel apps. However, shared hosting lacks queue workers (Supervisor), Redis, and flexible cron scheduling. For anything beyond a simple CRUD application, use Cloudways ($14/mo) or a VPS with Forge.
What is Laravel Forge and do I need it?
Laravel Forge ($12/mo) is a server management tool that automates provisioning, deployment, SSL, queue workers, and PHP configuration on cloud providers like DigitalOcean and Vultr. You don't need it if you're comfortable with Linux server administration or if you use Cloudways (which handles these tasks itself). Forge is ideal for developers who want full server control without manual configuration.
How much does it cost to host a Laravel application?
A basic Laravel app can run on a $6/mo DigitalOcean Droplet or $14/mo Cloudways server. Add Forge ($12/mo) for automated management, bringing the total to $18-26/mo. Laravel Vapor (serverless) starts around $59/mo ($39 Vapor + AWS costs). Most production Laravel apps cost $14-50/mo for hosting, depending on traffic and resource needs.
Should I use Laravel Vapor or traditional hosting?
Use Vapor for applications with unpredictable traffic spikes (viral content, seasonal e-commerce) where auto-scaling justifies the $39/mo Vapor fee plus AWS costs. Use traditional hosting (Cloudways, DigitalOcean + Forge) for applications with steady traffic — it's cheaper, simpler to debug, and supports websockets and long-running processes that Vapor handles less elegantly.
What PHP version does Laravel 11 require?
Laravel 11 requires PHP 8.2 or higher. Laravel 10 supports PHP 8.1+. All hosts in this guide support PHP 8.2, and several (DigitalOcean, Vultr, Railway) offer PHP 8.3. Always run the latest stable PHP version for security patches and performance improvements — PHP 8.2 is 5-15% faster than 8.1 for typical Laravel workloads.
How do I handle Laravel queue workers on hosting?
Queue workers require Supervisor (a process manager) to keep them running persistently. Cloudways, DigitalOcean (with Forge), Vultr, and Hostinger VPS all support Supervisor. Configure workers with --max-jobs=1000 and --max-time=3600 to restart periodically and prevent memory leaks. Shared hosting (A2 Hosting) does not support persistent queue workers — use database or sync drivers as fallbacks.
The Bottom Line
Best Overall Laravel Host
Best with Forge
Best Budget Laravel VPS
For Laravel hosting, Cloudways ($14/mo) provides the best managed experience with SSH, Redis, Supervisor, and one-click deployment. Developers who want full control should pair DigitalOcean ($4/mo) with Laravel Forge ($12/mo) for the officially recommended stack. Budget-conscious developers can start with Hostinger VPS ($5.49/mo) and configure the server manually or with Forge.
More guides: Best PHP Hosting 2026 • Best Django Hosting 2026 • Cloudways Review 2026