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 From Settings

Eloquent From Settings Laravel Package

brandonkerr/eloquent-from-settings

A Laravel package that lets Eloquent models configure their database connection from settings instead of hardcoded values, keeping multi-tenant or dynamic environments flexible.

View on GitHub
Deep Wiki
Context7

brandonkerr/eloquent-from-settings lets Eloquent models resolve their table name from Laravel settings or config instead of a hardcoded $table property. This is useful when the same model must target tenant-, environment-, or deployment-specific tables without duplicating model classes.

  • Resolve from at runtime from settings
  • Per-model defaults with global fallbacks
  • Works with existing queries and relationships
  • Config-cache friendly
  • No schema or migration changes required
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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log