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:make:layout <Title> [Options]
This command will create layout Views in path set in config/view.paths into a new folder named after targeted model.
Command creates only view that are needed, based on either only/except options or targeted model's controller if one is found:
_item.blade.php)_form.blade.php)_form.blade.php)::: tip
Set targeted model by using --target= options to skip model input prompt.
:::
| Parameter | Description |
|---|---|
title |
Title is used also for other naming derivatives. It is normalized automatically. |
| Command | Description |
|---|---|
| `--controller | C` |
--bootstrap |
Will use bootstrap when creating views |
--paginated |
Will use pagination in index view |
--target= |
Target model |
--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?