allanrodrigues / environment-variables-manager
A simple library for managing environment variables in PHP.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/allanrodrigues/environment-variables-manager
README
📦 Pack
A simple library for managing environment variables in PHP.
- Database
How to use
To use this library, simply create a .env file at the root of the project, following the model below (one variable per line):
DB_HOST=localhost
DB_USER=root
DB_PASS=password
DB_NAME=database
DB_PORT=3000
Requirements
- This library needs PHP 7.0 or greater.
- Composer
📄 license
This project is under the MIT license. See the LICENSE file for more details.