Introduction
Laravel Coolify provisions your entire production infrastructure on Coolify with a single command.
What Gets Created
Section titled “What Gets Created”php artisan coolify:provisionThis creates:
- Laravel application container (PHP-FPM, Nginx, Horizon, Reverb)
- PostgreSQL database
- Dragonfly cache (Redis-compatible)
All environment variables are configured automatically.
Available Commands
Section titled “Available Commands”coolify:install # Install package configcoolify:provision # Create infrastructurecoolify:status # Show application statuscoolify:deploy # Trigger deploymentcoolify:logs # Stream logscoolify:restart # Restart applicationcoolify:rollback # Rollback deploymentRequirements
Section titled “Requirements”- PHP 8.2+
- Laravel 11/12
- Coolify instance with API access
- Server connected to Coolify
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-tokenThen:
php artisan coolify:provision