Skip to content

Dynamic config #2

Closed
Closed

Description

@yashiroiori

Hi, it's posible to take the config data reference from database, to put form and user fill with set config for models need reference

Activity

  1. deviarte commented on Oct 8, 2025

    @deviarte

    We have been looking at this package to see if it can replace our homegrown service but we also have the same limitation, our config data would also come from the database (clients can change prefixes and patterns). Don't see a built-in way to dynamically change the configuration.

  2. EG-Mohamed commented on Oct 9, 2025

    @EG-Mohamed
    Owner

    @yashiroiori @deviarte
    Thanks a lot for the feedback and for checking out the package! 🙌

    You’re right — at the moment, the configuration is loaded from the config file and doesn’t support dynamic values from the database out of the box.

    However, it’s definitely possible to extend this in your own project — for example, by loading your config data at runtime and updating it using Config::set() or within a custom service provider.

    That said, adding native support for database-driven configuration is a great idea and something I’d love to explore in future releases.
    All contributions are very welcome — so if you’d like to help implement this feature or propose an approach, feel free to open a PR or start a discussion.

    Thanks again for your input and support! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions