.env for your Rack'em application A simple middleware that will load environment variables from .env into $env. It's just like this thing. Installation $ composer require rackem/dotenv:@stable Usage \Rackem::use_middleware("\Rackem\Dotenv");