Laravel Dynamic Config

screenshot of Laravel Dynamic Config

This Package makes it possible for users to have their config files stored in a database table, making it easier to customize these values from UI.

Overview

The Larvel Dynamic Config package is a game changer for developers looking to simplify configuration management. By allowing config files to be stored in a database, this package provides an intuitive way to customize settings directly through a user interface, eliminating the need to dive into code. This flexibility is especially beneficial for non-technical users who might need to adjust site settings without accessing the filesystem.

With straightforward installation and user-friendly features, Larvel Dynamic Config allows for dynamic updates to configuration values. Imagine being able to control your site title or Google Analytics code from an admin panel instead of modifying files directly. This capability not only streamlines management but also significantly reduces the risk of errors due to direct file edits.

Features

  • Database Storage: Configuration files can be stored directly in a database table, making it easy to update values without editing code.

  • Simple Installation: The package can be easily installed via Composer, and it automatically registers itself for use.

  • Dynamic Configuration: By adding dynamic => true to any configuration file, developers can enable dynamic loading of config values from the database.

  • Multiple Config Files: Support for multiple configuration files loaded dynamically allows for extensive customization across an application.

  • User-Friendly Management: This setup makes it simple for users to control site settings through a UI, perfect for those without technical skills.

  • Default Values Retention: If needed, defaults from the actual config file are preserved, ensuring a fallback if database values are empty.

  • Seamless Integration: Values can be fetched using standard Laravel syntax, keeping things consistent and familiar for developers.

  • Reverting to Defaults: Added functionality allows easy updates and the ability to revert back to the original default values as needed.