Laravel hosting
Laravel hosting that runs your deploy steps for you
Push to your branch and DeployBase runs Composer, builds your assets and caches, swaps the release in, and runs your migrations. Plans start at $5.99/mo, and Git deploy and SSH are included from $11.99/mo.
- PHP 8.3 or 8.4, chosen per app
- composer install, migrate and caches on every deploy
- Your .env and storage/ are kept across deploys
- MySQL (MariaDB 10.11) and Redis on every plan
7-day free trial. Cancel before day 7 and you pay nothing.
Laravel hosting pricing and free trial
Same price for WordPress, Laravel, Node.js, or any technology. Pay for resources, not technology. The RAM and CPU are a ceiling for everything in the account, enforced by the kernel.
| Plan | Starter $5.99/mo | Pro $11.99/mo | Business $23.99/mo | Enterprise $47.99/mo |
|---|---|---|---|---|
| RAM | 1 GB | 2 GB | 4 GB | 12 GB |
| CPU | 0.25 vCPU | 1 vCPU | 1 vCPU | 2 vCPU |
| SSD storage | 20 GB | 25 GB | 50 GB | 100 GB |
| Git push deploy | ||||
| SSH access | ||||
| Staging environment | ||||
| Free SSL (Let’s Encrypt) | ||||
| MySQL (MariaDB) and Redis | ||||
| Cron jobs | ||||
| PHP version | 8.3 or 8.4 | 8.3 or 8.4 | 8.3 or 8.4 | 8.3 or 8.4 |
| Try Starter | Try Pro | Try Business | Try Enterprise |
Starter has no Git deploy or SSH: you upload files with the file manager. Git deploy and SSH start at Pro ($11.99/mo). Full details, including bandwidth, are on the pricing page.
How a deploy works
This is what the platform runs on each deploy after the first, whether a push or the Deploy button started it. The first deploy installs in place; after that, each release is built beside the live one.
A push to your branch starts it
Connect a GitHub or GitLab repository and pick the branch (mainby default). Pushes arrive by signed webhook, and a check every five minutes catches one that never arrived.The release is built beside the live one
Your app is copied to a staging folder and updated to the new commit. There the platform runscomposer install --no-dev --optimize-autoloader, builds frontend assets if you have apackage.jsonwith a build script (npm, pnpm or Yarn, from your lockfile), and builds the config, route and view caches.A failed build changes nothing
If Composer, the asset build or the caches fail, the deploy stops there and your live site keeps serving the previous release.The release swaps in
Files are swapped one at a time, each in a single atomic step, and a failed swap is reversed.storage/,.envandnode_modulesare never swapped, so uploads, sessions and settings stay as they were.Migrations and links run
php artisan migrate --forceruns, thenstorage:linkif the link is missing. AnAPP_KEYis generated if your app has none, and an existing key is never changed.Apache reloads gracefully
Caches are rebuilt and Apache reloads without dropping requests in flight. The full log of each deploy stays in the dashboard.
How your Laravel app runs
- Web server
- Apache with PHP, document root set to your app's
public/folder. HTTPS ends in front of it with a free Let's Encrypt certificate. - PHP version
- New apps get PHP 8.3. You can switch an app to 8.4, or back, from the dashboard; only that app restarts.
- Extensions
- pdo_mysql, mysqli, redis, igbinary, memcached, intl, gd, imagick, bcmath, gmp, pcntl, soap, sockets, exif, zip, OPcache and the ionCube loader, among the standard set.
- APP_URL
- Set to
https://plus your domain. When you add a custom domain it is updated in your.envand the config cache is rebuilt. - .env
- Edit it in the dashboard. It is set aside before each deploy and merged back after, so a push never overwrites it. Saving it rebuilds the config cache.
- Scheduler
- Add
php artisan schedule:runas a cron job that runs every minute. Cron jobs run inside your app's container, from the app folder. - Queues
- Use Redis or the database as the queue driver, and process jobs from cron with
php artisan queue:work --stop-when-empty. There is no long-running worker. - Artisan over SSH
- From Pro ($11.99/mo) you can run artisan, tinker and Composer yourself over SSH.
# Scheduler
* * * * * php artisan schedule:run
# Queue: run until the queue is empty, then exit
* * * * * php artisan queue:work --stop-when-empty --max-time=55
# .env
QUEUE_CONNECTION=redis
CACHE_STORE=redis
SESSION_DRIVER=redisLimits to know before you move
These are the edges of the platform today. If one of them rules us out for your app, it is better to know now.
No PostgreSQL from Laravel yet
The PHP image has no pdo_pgsql driver, so a Laravel app cannot connect to PostgreSQL today. Use MySQL (MariaDB 10.11).
No long-running queue worker
There is no process manager or Horizon daemon. Queues are processed from cron, at most once a minute, so a job can wait up to a minute to start.
Migrations run after the swap
If a migration fails, the new code is already live and the deploy is marked failed with the migration output. Keep migrations backward-compatible with the code before them.
Builds have a ten-minute limit
Composer and the asset build each stop after ten minutes, and the cache build after two. A step that runs longer fails, and the previous release keeps serving.
The plan is a shared ceiling
The plan’s RAM and CPU cover every app and database in the account together, not each one separately.
One region
Every app runs on our server in Helsinki, Finland. There is no multi-region option.
Laravel hosting questions
Which plan do I need for Git push deploy?
Pro ($11.99/mo) or above. Git deploy and SSH are not included on Starter ($5.99/mo), where you upload files with the file manager.
Which PHP versions can I use?
PHP 8.3 (the default for new apps) or 8.4, chosen per app. Switching restarts only that app.
Do migrations run automatically?
Yes. php artisan migrate --force runs on every deploy, after the new release is in place. If it fails, the deploy is marked failed and the log shows the migration output.
How do I run the Laravel scheduler?
Add php artisan schedule:run as a cron job that runs every minute. Cron jobs run inside your app container from the app folder, on every plan.
Can I run queue workers or Horizon?
Not as a long-running process; there is no process manager. Process the queue from cron with php artisan queue:work --stop-when-empty, which runs at most once a minute.
Can my Laravel app use PostgreSQL?
Not today. The PHP image does not include the pdo_pgsql driver. MySQL (MariaDB 10.11) and Redis work on every plan.
Will a deploy overwrite my .env or uploaded files?
No. The .env file and the storage folder are kept across deploys. The .env file is set aside before the update and merged back after.
How much does Laravel hosting cost?
Laravel runs on every plan at the same price as any other stack: Starter $5.99/mo, Pro $11.99/mo, Business $23.99/mo and Enterprise $47.99/mo, billed monthly. Git push deploy and SSH start at Pro.
Is there a free trial for Laravel hosting?
Yes. Every plan starts with a 7-day free trial. A card is required, and you pay nothing if you cancel before day 7.
Compare before you choose
Moving an existing site? Read the migration guide, or see how Git deploy works and the databases in more detail.