https://github.com/ripeworks/rackem-dotenv
dotenv (.env) middleware for Rack'em
https://github.com/ripeworks/rackem-dotenv
Last synced: 4 months ago
JSON representation
dotenv (.env) middleware for Rack'em
- Host: GitHub
- URL: https://github.com/ripeworks/rackem-dotenv
- Owner: ripeworks
- License: mit
- Created: 2014-01-13T21:51:56.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-21T14:17:31.000Z (about 12 years ago)
- Last Synced: 2025-02-05T18:02:59.101Z (about 1 year ago)
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .env for your Rack'em application
A simple middleware that will load environment variables from `.env` into `$env`.
It's just like [this thing](https://github.com/bkeepers/dotenv).
## Installation
```bash
$ composer require rackem/dotenv:@stable
```
## Usage
```php
\Rackem::use_middleware("\Rackem\Dotenv");
```