Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel env

@env('staging')
    // The application is running in "staging"...
@endenv

@env(['staging', 'production'])
    // The application is running in "staging" or "production"...
@endenv
Source by panjeh.medium.com #
 
PREVIOUS NEXT
Tagged: #laravel #env
ADD COMMENT
Topic
Name
5+4 =