Download the PHP package lorran-code/dot-env without Composer
On this page you can find all versions of the php package lorran-code/dot-env. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lorran-code/dot-env
More information about lorran-code/dot-env
Files in lorran-code/dot-env
Download lorran-code/dot-env
More information about lorran-code/dot-env
Files in lorran-code/dot-env
Vendor lorran-code
Package dot-env
Short Description A simple library for managing environment variables in PHP.
License GPL-3.0-or-later
Package dot-env
Short Description A simple library for managing environment variables in PHP.
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package dot-env
# 1 - VARIÁVEIS PARA CONFIGURAR A CONEXÃO COM O BANCO DE DADOS NO ARQUIVO .env QUE FICA NA RAIZ DO PROEJTO # DB_HOST=localhost DB_USER=root DB_PASS=pass DB_NAME=database DB_PORT=3306 # 2 - CARREGA O ENVIRONMENT # <?php
require 'vendor/autoload.php';
//LOAD ENVIRONMENT VARS FROM FILE ON ROOT
LorranCode\DotEnv\Environment::load(__DIR__);
//GET ENVIRONMENT VAR
echo getenv('DB_HOST');All versions of dot-env with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package lorran-code/dot-env contains the following files
Loading the files please wait ...