Registry / config / oscarotero-env

oscarotero-env

JSON →
library2.1.1phppackagistunverified

Simple library to consume environment variables

composer require oscarotero/env
INSTALL
IMPORT
SIG · OSCAROTERO-ENV
O
oscarotero-env
configphpv2.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Env
use Oscarotero\Env\Env;

Get an environment variable with a default value

use Oscarotero\Env\Env; $value = Env::get('APP_ENV', 'production');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources
oscarotero-env — pip install oscarotero-env · libregistry