spiral/dotenv-bridge

Spiral Framework: DotEnv Loader

v1.0.0 2019-05-21 11:42 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,
        
        // ...
    ];
}