Small helper dealing with environment variables

v1.0.8 2023-10-01 00:37 UTC

README

License GitHub release PHP Packagist

ENV

Small helper dealing with environment variables.

Installation

To install and use this package, we recommend to use Composer:

composer require imponeer/env

Otherwise, you need to include manually files from src/ directory.

Usage example

$path = env('PATH', '/src');
$enable = !!env('ENABLE_APP');

How to contribute?

If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.

If you found any bug or have some questions, use issues tab and write there your questions.