Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allanrodriguesmachado/environmentvariablesmanager
A simple library for managing environment variables in PHP.
https://github.com/allanrodriguesmachado/environmentvariablesmanager
composer libray php
Last synced: 3 days 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T14:32:01.000Z (about 2 years ago)
- Last Synced: 2025-01-26T05:41:59.582Z (3 days 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## 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)