Tharaka Dilshan
Tharaka Dilshan

Reputation: 4499

How to Read 'Reserved Environment Variables' from Laravel Vapor Application

Neither Php $_ENV nor getenv() returns the 'Vapor Reserved Environment Variables' which mentioned here: Reserved Environment Variables

How can we read them?

Upvotes: 0

Views: 681

Answers (1)

Elliot
Elliot

Reputation: 1616

Read them in Laravel with env('KEY_NAME', 'Default Value'), just as you regularly would.

Upvotes: 0

Related Questions