stumason/laravel-coolify-starter
最新稳定版本:v1.2.0
Composer 安装命令:
composer require stumason/laravel-coolify-starter
包简介
Transform a fresh Laravel app into a production-ready Coolify deployment with Horizon, Reverb, Telescope, and health checks.
README 文档
README
Sets up a fresh Laravel app for Coolify deployment.
What this does
Runs php artisan coolify:install which:
- Installs Horizon, Reverb, Telescope, Sanctum (you pick which ones)
- Installs
stumason/laravel-coolifyfor the deployment dashboard - Publishes
nixpacks.tomlfor Coolify builds - Adds a
/healthendpoint - Switches
.envto Postgres and Redis - Adds a
composer run devscript that runs everything concurrently - Publishes coding standards docs to
docs/standards/
If you have COOLIFY_URL and COOLIFY_TOKEN in your .env, it offers to run coolify:provision to create the app on Coolify.
COOLIFY_URL=https://app.coolify.io
COOLIFY_TOKEN=your-api-token
The token needs to be a root-level API token (created by a Coolify admin under Keys & Tokens > API Tokens).
Requirements
- PHP 8.2+
- Laravel 11 or 12
- Fresh Laravel install
Installation
composer require stumason/laravel-coolify-starter --dev php artisan coolify:install
Answer the prompts or use flags:
php artisan coolify:install --all # Install everything php artisan coolify:install --horizon --telescope # Pick specific packages php artisan coolify:install --no-interaction # Skip prompts php artisan coolify:install --force # Overwrite existing files
After installation
createdb your_project_name php artisan migrate composer run dev
Files published
nixpacks.toml
app/Http/Controllers/HealthCheckController.php
resources/js/pages/health-check.tsx
app/Providers/HorizonServiceProvider.php (if Horizon)
app/Providers/TelescopeServiceProvider.php (if Telescope)
docs/standards/
.prettierrc
.prettierignore
.editorconfig
eslint.config.js
.env changes
DB_CONNECTION=pgsql
DB_DATABASE=your_project_name
SESSION_DRIVER=redis
CACHE_STORE=redis
QUEUE_CONNECTION=redis
License
MIT
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-17