Skip to content

Laravel Coolify

Like Laravel Horizon, but for your entire infrastructure. Deploy, monitor, and manage your Coolify resources from within your Laravel app.

Laravel Coolify Dashboard

Terminal window
composer require stumason/laravel-coolify
php artisan coolify:install

Add to .env:

Terminal window
COOLIFY_URL=https://your-coolify.com
COOLIFY_TOKEN=your-api-token

Provision your infrastructure with one command:

Terminal window
php artisan coolify:provision

This creates a Laravel app + PostgreSQL + Dragonfly on Coolify with all environment variables configured automatically.

  • Dashboard — Monitor deployments, view logs, manage env vars from /coolify in your app
  • Artisan Commands — Deploy from CI/CD, scripts, or terminal without touching a UI
  • Auto Dockerfiles — Production-ready Docker config with Horizon, Reverb, and Scheduler detected
  • Full API Access — Build custom tooling and automations with the complete Coolify API
CommandDescription
coolify:installPublish config, generate Dockerfile
coolify:provisionCreate infrastructure on Coolify
coolify:deployTrigger deployment
coolify:statusShow application status
coolify:logsView application logs
coolify:restartRestart application
coolify:rollbackRollback to previous deployment
use Stumason\Coolify\Coolify;
// Quick deploy
Coolify::deploy();
// Full repository access
Coolify::applications()->deploy($uuid, force: true);
Coolify::applications()->envs($uuid);
Coolify::deployments()->forApplication($uuid);
Coolify::databases()->start($uuid);
  • PHP 8.2+
  • Laravel 11 or 12
  • Coolify 4.x instance with API access