install-laravel
Installation
SKILL.md
Install Laravel
Create Laravel 13 applications from official starter kits, curated community kits, or Composer create-project kits. Keep the flow guided: inspect the environment, ask only for missing decisions, then run the smallest command set.
Quick Start
- Confirm the app name and target path. Refuse to install into a non-empty unrelated directory unless explicitly confirmed.
- Check prerequisites:
php -v,composer --version,laravel --version, Herd/Herd MCP availability, and eithernode/npmorbun. - Install/update the Laravel installer when missing or stale:
composer global require laravel/installer. - Create only Laravel 13 projects; after install, verify
composer.jsonrequireslaravel/framework^13. - If the selected database is not SQLite, create both
<app_database>and<app_database>_testingbefore running any installer command; prefer Herd MCP when Herd is installed. - For official kits, run
laravel new <app-name>and answer the installer prompts from the user's choices. - For community kits, run
laravel new <app-name> --using=<vendor/package>only after confirming Laravel 13 support. - For Composer kits, run the documented
composer create-project ...command and setup command. - Install Laravel Boost, update app metadata, run matching frontend build commands, then optionally create the remote repo.
Guided Decisions
Ask for these only when missing: