Laravel

Laravel Artisan Tinker: The env Command

Author

John Koster

Published on December 7, 2016

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.

Explore The Blog