xeki-tech / config
There is no license information available for the latest version (1.0.1) of this package.
Config envs xeki
1.0.1
2021-10-13 18:59 UTC
Requires
- php: >=7.4
- vlucas/phpdotenv: ^5.3
This package is auto-updated.
Last update: 2026-03-14 04:19:55 UTC
README
install
composer require xeki-tech/config
use
Example use
$config = \xeki\module_manager::import_module('config');
$config->getVar("var_name");
File .env, this file works in base proyect folder or app folder, also work with env vars os
db_ip = "123"
db_user = "userRoot"
db_password = "pass"
db_name = "dbwebpruebas"