Deploy Laravel in minutes
Darmi Cloud deploys Laravel apps with Composer, serves the public directory and handles HTTPS for you. Connect GitHub and ship your PHP application in minutes.
How to deploy Laravel
Darmi Cloud has a dedicated Laravel preset, so there is no configuration to write.
- 1
Sign in with GitHub
Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.
- 2
Import your repository
Click New Project, pick your Laravel repository, and choose the branch to deploy — the default branch is preselected.
- 3
Select the Laravel preset
Choose the Laravel preset. The commands are prefilled (build: composer install --no-dev --optimize-autoloader, start: (serves the public/ directory)) — adjust them only if your project differs.
- 4
Add environment variables
Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.
- 5
Deploy and watch it go live
Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.
Preset defaults
- Preset
- Laravel
- Container port
- 8000
- Build command
- composer install --no-dev --optimize-autoloader
- Start command
- (serves the public/ directory)
Tips for Laravel on Darmi Cloud
- Set APP_KEY, APP_ENV=production and your DB_* variables in project settings before the first deploy.
- Run php artisan migrate as part of your release flow when your schema changes.
- Cache config and routes (php artisan config:cache) for faster boot in production.
Laravel deployment FAQ
Does Darmi Cloud install Composer dependencies?
Yes. The Laravel preset runs composer install --no-dev --optimize-autoloader, then serves your app's public directory behind HTTPS.
How do I set the Laravel APP_KEY?
Generate one locally with php artisan key:generate --show and paste the value into an APP_KEY environment variable in project settings.
Can I use my own custom domain?
Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.
Is there a free plan?
Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.
Deploy other frameworks
Ready to deploy your Laravel app?
Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.
Deploy Laravel now