Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if environment is production

@env(['production'])
    // The application is running in "staging" or "production"...
@endenv
 
PREVIOUS NEXT
Tagged: #laravel #check #environment #production
ADD COMMENT
Topic
Name
3+8 =