builder maintained by laravel-starter
Laravel Starter Builder
CLI project generator for Laravel 9–13 and PHP 8.0–8.5. Inspired by Spring Initializr, the Laravel installer, and modern full-stack scaffolding.
php laravel-starter new shop --php=8.0 --frontend=blade --database=sqlite --dry-run
php laravel-starter new shop --laravel=10 --php=8.2 --frontend=blade --database=sqlite --dry-run
php laravel-starter new shop --laravel=13 --frontend=blade --database=sqlite --architecture=mvc-service --dry-run
php laravel-starter new shop --preset=basic --no-interaction
php laravel-starter features
php laravel-starter patterns
php laravel-starter validate --config=starter.yaml
--php sets the generated project’s PHP version. Every feature is available on PHP 8.0–8.5.
Generate only what you select. No unused packages, directories, or patterns.
AI skills
This repo and every generated project ship agent skills:
.agent/skills/laravel— Eloquent, requests, policies, Pest, architecture.agent/skills/frontend— Blade/Livewire/Inertia/React/Vue/Next/Nuxt UI and CRUD
Generated apps also get .agent/rules/ plus AI_CONTEXT.md.
Requirements
- Composer 2
- Generated project: PHP 8.0–8.5 and Laravel 9–13
--php |
Default Laravel | Available Laravel |
|---|---|---|
| 8.0 | 9 | 9 |
| 8.1 | 10 | 9, 10 |
| 8.2 | 11 | 9, 10, 11, 12 |
| 8.3 | 13 | 10, 11, 12, 13 |
| 8.4 | 13 | 11, 12, 13 |
| 8.5 | 13 | 12, 13 |
Commands
| Command | Purpose |
|---|---|
new |
Generate a project (interactive, flags, YAML/JSON, dry-run) |
features |
List the feature registry |
patterns |
List design patterns |
validate |
Validate a config file |
config |
Show generator defaults |
status |
Show starter.json for the current project |
install / remove |
Mutate an existing generated project |
make:crud / make:resource / make:module / make:pattern |
Scaffolding |
Development
composer install
php vendor/bin/pest
vendor/bin/pint