O-Configs

Laravel’s missingruntime config.

Sometimes you just want to change a setting without redeploying.

A project from
Obelaw
composer require obelaw/o-configs

MIT Licensed · Free forever · Obelaw Packages

Overview

O-Configs provides a robust way to manage application settings that need to be editable at runtime. Unlike static config files, O-Configs stores values in the database, making it perfect for admin panels and user preferences.

Key features

  • Database storage for configuration values
  • Support for grouped configurations
  • Caching support for high performance
  • Helper functions for easy access

Basic usage

// Set a configuration value
o_config(['site_name' => 'My Awesome App']);

// Get a configuration value
$siteName = o_config('site_name');

// Get with default value
$theme = o_config('theme_color', 'blue');