https://github.com/allanrodriguesmachado/environmentvariablesmanager
A simple library for managing environment variables in PHP.
https://github.com/allanrodriguesmachado/environmentvariablesmanager
composer libray php
Last synced: 2 months ago
JSON representation
A simple library for managing environment variables in PHP.
- Host: GitHub
- URL: https://github.com/allanrodriguesmachado/environmentvariablesmanager
- Owner: allanrodriguesmachado
- Created: 2021-02-11T23:46:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T14:32:01.000Z (over 3 years ago)
- Last Synced: 2025-03-21T09:16:05.388Z (about 1 year ago)
- Topics: composer, libray, php
- Language: PHP
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Environment Variables Manager
📦 Pack
[Packgist](https://packagist.org/packages/allanrodrigues/environment-variables-manager)
----
A simple library for managing environment variables in PHP.
- Database
- Email
## 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](LICENSE.md) file for more details.
---
🎖️ Author
[
Allan Rodrigues](https://github.com/allanrodriguesmachado)