Weave 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
Laravel Auto Model Cast

Laravel Auto Model Cast Laravel Package

vicgutt/laravel-auto-model-cast

Automatically casts Laravel Eloquent model attributes based on their database column types, so you can skip manually maintaining $casts arrays. Keeps models tidy and casts in sync with your schema.

View on GitHub
Deep Wiki
Context7

Laravel Auto Model Cast derives Eloquent attribute casts directly from your database schema, so you no longer have to hand-maintain a $casts array on every model. It inspects column types and applies sensible native casts—integers, booleans, dates, decimals, and JSON—keeping models lean and consistent with the underlying tables.

  • Zero-config: casts inferred from column metadata, no boilerplate.
  • Schema-driven: stays accurate as migrations evolve.
  • Native casts: built on Laravel's own cast classes.
  • Override-friendly: explicit $casts entries still win.
  • Lightweight: no extra tables or generated files.
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource