2017 © Pedro Peláez
 

library dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

image

divineomega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  • Sunday, February 11, 2018
  • by DivineOmega
  • Repository
  • 1 Watchers
  • 2 Stars
  • 130 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 18 % Grown

The README.md

dotenv-loader

The dotenv-loader is a simple PHP helper that automatically loads in a .env file from the root of your project into environment variables. It is designed for use in projects that do not already make use of a .env file., (*1)

Quick Start

Simple run composer require DivineOmega/dotenv-loader to install., (*2)

You'll then be able to create a .env file in your project's root directory (in the same location as your composer.json file). Any variables in the .env file can then be accessed in any way you wish, such as using PHP's built-in getenv function., (*3)

For an actual example of how to use dotenv-loader, see the test directory., (*4)

The Versions

11/02 2018

dev-master

9999999-dev https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3 LGPL-3.0-only

The Requires

 

php library environment dotenv .env php library .env php library

11/02 2018

v2.0.3

2.0.3.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL-3.0-only

The Requires

 

php library environment dotenv .env php library .env php library

06/10 2017

v2.0.2

2.0.2.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

20/09 2017

v2.0.1

2.0.1.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

20/09 2017

v2.0.0

2.0.0.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

18/03 2017

v1.0.4

1.0.4.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

13/01 2017

v1.0.3

1.0.3.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

13/01 2017

v1.0.2

1.0.2.0 https://github.com/DivineOmega/dotenv-loader

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library .env php library

13/01 2017

v1.0.1

1.0.1.0 https://github.com/DivineOmega/php-summary

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library soap web service library soap php library

13/01 2017

v1.0.0

1.0.0.0 https://github.com/DivineOmega/php-summary

Dotenv loader is a simple PHP library that will automatically load in a `.env` file from the root of your project into environment variables.

  Sources   Download

LGPL3

The Requires

 

php library environment dotenv .env php library soap web service library soap php library