A Laravel app does not need an expensive host. A small VPS with 1 or 2 GB of memory, around $5 a month at many providers, runs a typical Laravel app well. This guide connects one to Vantuly and deploys your app from Git on every push.
You need: a fresh VPS with Ubuntu 24.04/26.04, Debian 12/13, Fedora 43/44 or Enterprise Linux 9 and at least 1 GB of memory (see Server requirements), your app in a GitHub, GitLab or Bitbucket repository, and a Vantuly account. Vantuly is free for 2 servers.
1. Connect the server
Section titled “1. Connect the server”- Open Servers → Add a server and choose Connect a server you already have.
- Enter a Server name and pick the WordPress & PHP stack (NGINX, PHP-FPM, MariaDB, Redis, WP-CLI and Composer).
- Copy the install command and run it on the server as root.
Setup takes about two minutes. The server needs only outbound port 443 for the agent. A server with less than 2 GB of memory also gets a swap file, which helps Composer on a small machine. See Connect your first server.
No VPS yet? Vantuly can create one at ten cloud providers.
2. Create the Laravel site
Section titled “2. Create the Laravel site”Click New site → Laravel, pick a PHP version and the server. The site starts as an empty app served from public/, with its own MariaDB database, Redis user and .env.
3. Deploy from Git
Section titled “3. Deploy from Git”- On the site, click Connect repository, paste the repository address and pick the Branch.
- Add the Deploy key and Deploy webhook Vantuly shows to the repository (see Deploy from Git). On GitHub you can instead deploy with a GitHub App and pick the repository from a list, with no key or webhook to add.
- Turn on Auto-deploy on push, or click Deploy now.
The default deploy script for a Laravel site is:
composer install --no-dev --no-interaction --prefer-dist --optimize-autoloaderphp artisan migrate --forcephp artisan storage:linkphp artisan optimizeEach deploy builds a new release next to the running one and switches to it only when every step succeeds. If a step fails, the previous release keeps serving visitors. Edit the script in the site’s settings.
4. Set your environment
Section titled “4. Set your environment”Set your .env values (for example APP_URL, mail settings or API keys) in the site’s Environment settings. The database and Redis are already filled in for you.
5. Queue workers and the scheduler
Section titled “5. Queue workers and the scheduler”The site’s Laravel tab has a Queue workers and scheduler section:
- Queue workers run as systemd services under the site’s own Linux user and restart on every deploy. Failed jobs can be listed, retried or flushed from the same tab.
- Scheduler runs
php artisan schedule:runevery minute when turned on. No cron entry to write.
The Laravel tab also runs migrations, clears cached config and routes, puts the app in maintenance mode, and runs artisan commands (owners and admins).
6. Your domain and HTTPS
Section titled “6. Your domain and HTTPS”The site gets a free vantuly.site HTTPS address at once. To use your own domain, add it on the Domains tab and point an A record at the server. The Let’s Encrypt certificate follows about 15 seconds after DNS matches. See Add your own domain.
- Laravel sites
- How backups work: back up the database and files to your own storage.
- Vantuly vs Laravel Forge
Pricing · Terms of Service · Privacy · Refund Policy · support@vantuly.com