spiral/dotenv-bridge

Spiral Framework: DotEnv Loader

v2.8.9 2021-02-19 16:45 UTC

README

Latest Stable Version Build Status Codecov

Installation

Mount DotEnv bootloader at top of bootload list in your application:

class App extends Kernel
{
    /*
     * List of components and extensions to be automatically registered
     * within system container on application start.
     */
    protected const LOAD = [
        // Environment configuration
        DotenvBootloader::class,
        
        // ...
    ];
}