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

Quick Start
Section titled “Quick Start”composer require stumason/laravel-coolifyphp artisan coolify:installAdd to .env:
COOLIFY_URL=https://your-coolify.comCOOLIFY_TOKEN=your-api-tokenProvision your infrastructure with one command:
php artisan coolify:provisionThis creates a Laravel app + PostgreSQL + Dragonfly on Coolify with all environment variables configured automatically.
Features
Section titled “Features”- Dashboard — Monitor deployments, view logs, manage env vars from
/coolifyin 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
Commands
Section titled “Commands”| Command | Description |
|---|---|
coolify:install | Publish config, generate Dockerfile |
coolify:provision | Create infrastructure on Coolify |
coolify:deploy | Trigger deployment |
coolify:status | Show application status |
coolify:logs | View application logs |
coolify:restart | Restart application |
coolify:rollback | Rollback to previous deployment |
Programmatic API
Section titled “Programmatic API”use Stumason\Coolify\Coolify;
// Quick deployCoolify::deploy();
// Full repository accessCoolify::applications()->deploy($uuid, force: true);Coolify::applications()->envs($uuid);Coolify::deployments()->forApplication($uuid);Coolify::databases()->start($uuid);Requirements
Section titled “Requirements”- PHP 8.2+
- Laravel 11 or 12
- Coolify 4.x instance with API access