Search

Laravel Artisan Tinker: 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).

This command performs the same action as the php artisan env command.