Installation
Install Package
Section titled “Install Package”composer require stumason/laravel-coolifyRun Installer
Section titled “Run Installer”php artisan coolify:installThis will:
- Publish
config/coolify.php - Publish and run migrations (creates
coolify_resourcestable) - Generate Dockerfile and docker configs
- Configure TrustProxies middleware
Get API Token
Section titled “Get API Token”- Log in to Coolify
- Go to Settings > API Tokens
- Create new token
- Copy the token
Configure
Section titled “Configure”Add to .env:
COOLIFY_URL=https://your-coolify.comCOOLIFY_TOKEN=your-api-tokenOptional:
COOLIFY_TEAM_ID= # If multiple teamsCOOLIFY_TIMEOUT=60 # Request timeout secondsCOOLIFY_CACHE_TTL=30 # Cache duration secondsVerify
Section titled “Verify”php artisan coolify:status --all