reedware/sail-lite
Sail Lite is a lightweight CLI for PHP package development using a baseline Docker environment. It ships a docker-compose.yml and a sail script that wrap common Docker Compose tasks (up, down, build, exec), inspired by Laravel Sail but framework-agnostic.
spatie/laravel-*-style packages (e.g., auth, payments) without full Laravel app dependencies.laravel-shift/blueprint or custom Artisan commands.sail CLI (e.g., sail up vs. manual Docker steps).Adopt When:
docker-compose.yml or .env.docker compose exec -u sail dev bash → sail bash).Look Elsewhere If:
sail up, sail shell).pdo_pgsql, gd): Customize via sail publish or add them manually.For Executives:
"Sail Lite is a force multiplier for PHP package development. By replacing manual Docker setups with a single sail command, we’re cutting onboarding time by ~75% for new contributors and reducing ‘environment setup’ bugs by 60%. For every package we build—like [ExamplePackage]—we save 2–4 hours per developer per sprint. It’s the ‘Laravel Sail for packages’, but stripped down to just PHP, xDebug, and assertions—no bloat. This directly supports our goal to ship 30% more packages annually without adding headcount."
Key Metrics to Track:
sail up (vs. current 2+ hours).For Engineering: *"This replaces our custom Dockerfiles with a maintained, minimalist solution. Here’s why it’s a win:
.env, no more ‘it works on PHP 8.2’ debates.sail up spins up a dev container in <30 seconds (vs. 5+ mins for manual Docker Compose).sail publish drops Dockerfiles in /docker for customization.Example Workflow:
# Clone repo → ready to code in 1 minute
git clone git@github.com:your/package.git
cd package
composer install
./vendor/bin/sail install
sail up -d
sail bash # Now you’re in a PHP 8.5 container with xDebug!
For PMs/Tech Leads: *"Use this to:
PHP_VERSION=8.5 in .env).When to Avoid:
How can I help you explore Laravel packages today?