Search

Laravel Artisan General Command: The env Command

December 7, 2016 —John Koster

The env command is used to simply return the name of the current framework environment. The environment name that is returned is set in the .env file (specifically whatever value is set for the APP_ENV entry).

1# Display the current framework environment.
2php artisan env