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

Dynamic Attributes Laravel Package

thinktomorrow/dynamic-attributes

thinktomorrow/dynamic-attributes lets Laravel Eloquent models carry flexible custom attributes without schema changes. Store extra key-value data through a familiar relation, with casting and querying support, so models can be extended dynamically per record.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Flexible schema features: Supports decisions to let customers define custom fields, metadata, or content variants without adding a database column for every attribute.
  • CMS/content modeling: Useful for localized, editor-managed content where attributes vary by record and language.
  • Build vs. buy / buy vs. assemble: A lightweight MIT package can reduce custom implementation effort for JSON-backed dynamic attributes, but low adoption and stale maintenance mean it should be treated as a tactical dependency, not a strategic platform bet.
  • Roadmap sequencing: Can enable an MVP for custom fields, product catalogs, or flexible metadata while deferring a heavier EAV or dedicated content-modeling system.
  • Localization decisions: Supports multilingual attribute storage in the same JSON column, which may simplify early localization work.

When to Consider This Package

  • Consider it when the product needs per-record flexible attributes, values are primarily read/written through Eloquent, and storing them as top-level model attributes improves developer ergonomics.
  • It fits low-to-moderate scale prototypes or internal tools where JSON-column querying and reporting requirements are limited.
  • It may be acceptable if the team is willing to audit Laravel compatibility, fork/vendor the package, and own maintenance.
  • Look elsewhere when attributes must be heavily queried, filtered, aggregated, or reported on, or when strict relational integrity is required.
  • Avoid or require deeper due diligence when active maintenance, broad community adoption, security review, or long-term vendor support are required. With 10 stars and a last release in 2020, adoption should be gated by a technical spike and compatibility check.

How to Pitch It (Stakeholders)

  • To executives: This is a small, MIT-licensed Laravel package that could accelerate flexible-content features—custom fields, localized metadata, JSON-backed attributes—without committing to a larger schema. It is low-cost to trial but not low-risk to depend on long term given limited adoption and no recent releases.
  • To engineering: It offers a convenient Eloquent pattern for exposing JSON-column values as model attributes, including localization support. Recommend a time-boxed spike to verify compatibility with our Laravel/PHP versions, test query/reporting limits, and decide whether to adopt, fork, or implement a small internal abstraction.
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib