Laravel Runner Selection

•
137
•

Automatically detects and selects the optimal execution environment by switching between Laravel Sail and host-based tools.

This skill streamlines Laravel development by intelligently determining whether to execute commands within a Laravel Sail Docker container or via the host machine's local PHP, Composer, and Node.js runtimes. By establishing a unified command map and sticking to a consistent runner for the duration of a session, it prevents common environment-mismatch errors and ensures that migrations, tests, and dependency installations occur in the correct context without manual intervention.

Key Features

01Smart aliasing for seamless shell command execution
02Session-locked runtime selection to prevent environment mixing
03Unified command mapping for Artisan, Composer, and Node
04137 GitHub stars
05Automatic Laravel Sail detection and fallback logic
06Support for database and cache CLI tools like MySQL and Redis

Use Cases

01Standardizing command execution for AI agents working across different Laravel projects
02Switching between Docker-based and local development environments without changing workflows
03Ensuring consistency between dependency management and application runtime