spiral / dotenv-bridge
Spiral Framework: DotEnv Loader
2.13.1
2022-05-16 19:48 UTC
Requires
- php: >=7.4
- spiral/boot: ^2.13.1
- vlucas/phpdotenv: ^5.4
Requires (Dev)
- phpunit/phpunit: ^8.5|^9.5
This package is auto-updated.
Last update: 2022-08-16 20:23:36 UTC
README
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, // ... ]; }