env
spatie/ignition
The
env
function retrieves the value of an
environment variable
or returns a default value:
<?php $env
=
env
(
'APP_ENV'
);
$env
=
env
(
'APP_ENV'
,
'production'
);