function Global / env
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

env

env ( ) : mixed

Gets the value of an environment variable.

Parameters

  • $key string
  • $default mixed