Skip to content

snortlin/config-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application config bundle

Installation

Step 1: Download the Bundle

The preferred method of installation is via Composer:

composer require snortlin/config-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Snortlin\Bundle\ConfigBundle\ConfigBundle::class => ['all' => true],
];

Usage

# config/packages/config.yaml
config:
    entity_class: App\Entity\SystemConfig
    cache:
        service: 'app.cache.system_configs'
        key: 'system_configs_%s'
        ttl: 180

About

Symfony bundle for application configuration values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages