xeki-tech / config
Config envs xeki
Installs: 2 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- vlucas/phpdotenv: ^5.3
This package is auto-updated.
Last update: 2025-04-14 02:34:20 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"