2017 © Pedro Peláez
 

library phpnotenv

Fork of lucasv/phpdotenv enabling custom way of setting environment variables.

image

cibulka/phpnotenv

Fork of lucasv/phpdotenv enabling custom way of setting environment variables.

  • Sunday, August 30, 2015
  • by cibulka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 72 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Why?

According to creator of awesome Phpdotenv, the library was never meant to be used in production. I, however, would like to that to maintain the separation of config from code and to keep my development workflow as close to production as possible., (*1)

A lot of shared hostings (including mine) does not allow putenv function due to security, so I had to have my way of getting/setting superglobals with Phpdotenv. But as most of that is hardcoded to Phpdotenv, the easiest way I could think of was to write a light wrapper around the methods in question to allow custom callbacks., (*2)

Consider this library deprecated anytime the owner of Phpdotenv incorporates similar functionality., (*3)

What is this used for?

More info about Phpdotenv at the original repo: Phpdotenv, (*4)

Installation

composer install cibulka/phpnotenv

Commit test., (*5)

The Versions

30/08 2015

dev-master

9999999-dev http://github.com/cibulka/phpnotenv

Fork of lucasv/phpdotenv enabling custom way of setting environment variables.

  Sources   Download

The Requires

 

The Development Requires