fibers/rocket
Fibers Rocket adds developer-friendly Artisan commands to quickly scaffold common Laravel parts—models, controllers, migrations, views, layouts, routes, and more. Templates follow Laravel conventions, are easy to customize, and commands are context-aware to auto-fill boilerplate.
php artisan fibers:create <Title> [Options]
Fibers Rocket - Create will create a (full) mvc package of files. This command runs multiple Rocket commands in sequence and is therefore the fastest way to scaffold a new model with all connected Laravel parts. Keep in mind that all parts can also be scaffolded separately using relevant commands.
::: warning When creating a model it's migration will be automatically migrated. Take extra care when setting attributes using attribute input. :::
| Parameter | Description |
|---|---|
title |
Title is used also for other naming derivatives. It is normalized automatically. |
| Command | Description |
|---|---|
--mvc |
Will create a minimal model + view + controller scaffolding |
--all |
Will create a full model + view + controller + guard + route + (admin) scaffolding |
| `--model | M` |
| `--controller | C` |
| `--layout | L` |
| `--guard | G` |
| `--route | R` |
| `--admin | A` |
--paginated |
Will create a paginated index |
--bootstrap |
Will use bootstrap in layout creation |
--only= |
Comma separated collection of controller methods |
--except= |
Comma separated collection of ignored controller methods |
::: tip
Use --silent|S option to suppress unnecessary input prompt and to populate data automatically.
:::
How can I help you explore Laravel packages today?