dcodegroup/laravel-configuration
Simple package which dcode uses to handle application configuration and setting storage from third parties
8,065
2
| Install | |
|---|---|
composer require dcodegroup/laravel-configuration |
|
| Latest Version: | 0.2.5 |
| PHP: | ^7.4|^8.0 |
| License: | MIT |
| Last Updated: | Jun 8, 2026 |
| Links: | GitHub · Packagist |
Maintainer: dcodegroup
Laravel Configuration
This package provides a central way to store Laravel configuration and settings.
Installation
You can install the package via composer:
composer require dcodegroup/laravel-configuration
Then run the install command.
php artisan laravel-configuration:install
This will publish the migration file.
Run the migrations
php artisan migrate
Usage
A model is made available Dcodegroup\LaravelConfiguration\Models\Configuration.php You can use this as is or extend it via your own model.
Basic usage is like any other laravel model
Configuration::create([
'name' => 'xero_leave_types',
'value' => $data
]);
There are poly morphic fields on the table so you may also make a polymorphic relations to the configurations table if needed.
Related Packages
justustheis/registry
Flexible key–value store for Laravel with model scoping, encryption, caching, an...
136
0
manggala/laravel-manifest
Production-ready, schema-driven, UI-agnostic configuration platform for Laravel...
1
0