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

Eloquent Preferences Laravel Package

klaude/eloquent-preferences

Add flexible key-value preferences to any Eloquent model with klaude/eloquent-preferences. Store per-model settings polymorphically, read and write them through a simple API, and keep configuration data organized without extra tables or boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Personalization and settings features: Use model-attached preferences for per-user or per-entity settings such as theme, notification defaults, dashboard layout, locale, or onboarding state without adding one-off columns for each toggle.
  • Build vs. buy: For straightforward key/value preference storage inside a Laravel app, this package can reduce custom plumbing versus building a preferences table, model trait, casting, and retrieval API from scratch.
  • Roadmap sequencing: The v0.6.0 release is a compatibility/maintenance release, not a feature release. It does not unlock new product capabilities, but it reduces the risk of adopting the package in projects on PHP 8.1 and newer Laravel versions.
  • Upgrade planning: Teams blocked from PHP 8.1 or newer Laravel upgrades can reassess this dependency. Confirm the exact supported Laravel range before relying on the release note wording.
  • Use-case fit: Best suited to low-to-moderate complexity preference data tied to Eloquent models. Less suitable as the primary store for high-volume, highly queryable, auditable, or business-critical configuration.

When to Consider This Package

  • Consider it when the product needs simple per-model preferences and the team wants a small Laravel-native abstraction rather than a custom settings subsystem.
  • Consider it when upgrading to PHP 8.1 or newer Laravel versions was previously blocked by this dependency, subject to verifying the package’s actual Composer constraints and test coverage.
  • Consider it for prototypes, internal tools, SaaS user preferences, and admin-configurable defaults where preference reads/writes are routine and not central to complex reporting.
  • Look elsewhere if preferences require complex querying, bulk analytics, versioned configuration, approval workflows, audit trails, or strict multi-tenant isolation guarantees.
  • Look elsewhere if the product needs feature flags, remote configuration, or experimentation. A preferences package is not a substitute for a dedicated feature-management system.
  • Treat the 0.x version line and sparse release notes as adoption risks: pin the version, verify Laravel/PHP compatibility in CI, and confirm maintainer responsiveness before making it a broad platform dependency.

How to Pitch It (Stakeholders)

  • Executive summary: v0.6.0 is a maintenance release that fixes PHP 8.1 compatibility and expands Laravel version support. It does not add product features or indicate breaking changes.
  • Engineering summary: The release lowers upgrade friction for teams modernizing PHP/Laravel stacks. Validate the exact supported version matrix, run the package in CI, and keep the dependency pinned given the pre-1.0 version.
  • Product recommendation: Adopt only where simple model-level preferences are sufficient. Avoid positioning it as a strategic configuration or feature-flag platform. Re-evaluate if preference requirements grow into auditing, complex segmentation, or high-scale querying.
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.
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
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle