2017 © Pedro PelĂĄez
 

library phpdotenv-middleware

StackPHP Middleware for loading Environment Variables through PHPDotEnv

image

digitalkaoz/phpdotenv-middleware

StackPHP Middleware for loading Environment Variables through PHPDotEnv

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

StackPHP Middleware for PhpDotEnv

this middleware lets use load environment variables. read vlucas/phpdotenv for detailed usage., (*1)

Build Status Dependency Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Latest Stable Version Total Downloads StyleCI, (*2)

Installation

$ composer require digitalkaoz/phpdotenv-middleware

Usage

$middleware = new Rs\Stack\PhpDotEnv\Middleware($app, __DIR__, '.env');

//or with `stack/builder`

$stack = (new Stack\Builder())
    ->push('Rs\Stack\PhpDotEnv\Middleware', __DIR__.'/../')
;

Arguments:, (*3)

  1. The next HttpKernel
  2. Path to the Environment file
  3. Name of the Environment file

Tests

$ composer test

TODOS

  • more DotEnv Implementations?

The Versions

23/08 2016

dev-master

9999999-dev https://github.com/digitalkaoz/phpdotenv-middleware

StackPHP Middleware for loading Environment Variables through PHPDotEnv

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware stackphp phpdotenv

23/08 2016

1.0.1

1.0.1.0 https://github.com/digitalkaoz/phpdotenv-middleware

StackPHP Middleware for loading Environment Variables through PHPDotEnv

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware stackphp phpdotenv

23/08 2016

1.0.0

1.0.0.0 https://github.com/digitalkaoz/phpdotenv-middleware

StackPHP Middleware for loading Environment Variables through PHPDotEnv

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware stackphp phpdotenv