Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Rocket Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Make Model

php artisan fibers:make:model <Title> [Options]

Fibers Rocket considers Models to be a first-class citizens (alongside its table) and are it's entry point into your application when fetching required information. Models are used to smartly populate data when creating controllers, layours, guards, etc.

Model will be created either in app or app/Models folder, depending on location of other models, it's namespace will be set accordingly, it's attributes will be appropriately cast and relationships will be set.

Some attributes will be ignored by default and will not have corresponding fields and will not be cast:

  • id
  • uuid
  • created_at
  • updated_at
  • deleted_at
  • timestamps
  • timestampstz
  • softdeletes
  • softdeletestz

Other attributes will be automatically hidden from array export:

  • password
  • remember_token

::: tip Attributes are automatically added to fillable array for fast prototyping (unless they are hidden or ignored). Don't forget to remove them if necessary. :::

Attribute Input

Model creation is simple, but does require user's help to set appropriate attributes. This multiline input uses simplified (but modified) migration syntax. Read more about attribute input here.

::: tip Some magic attribute types add additional traits to models. You can set them in config/fibers.traits. :::

Parameters

Parameter Description
title Title is used also for other naming derivatives. It is normalized automatically.

Options

Command Description
`--migration M`

::: tip Use --silent|S option to suppress unnecessary input prompt and to populate data automatically. :::

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager