Skip to content

Added Env Loading Functionality. - #286

Open
Necoo33 wants to merge 2 commits into
dannyvankooten:masterfrom
Necoo33:master
Open

Necoo33 wants to merge 2 commits into
dannyvankooten:masterfrom
Necoo33:master

Conversation

@Necoo33

@Necoo33 Necoo33 commented Jun 28, 2025

Copy link
Copy Markdown

This pr is about for implementing the optional env loading functionality to this liblary. For loading env's, you'll basically write one line of code:

// ...

$router->loadEnv();

// ...

This will scan the document root for all possible variatons of env file names, for example: .env, .env.prod, credentials.env, credentials.env.dev etc.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant