php artisan tinker
$_ENV - get all variables
$_ENV
$_ENV['HOSTNAME'], env('HOSTNAME') - get custom variable
$_ENV['HOSTNAME']
env('HOSTNAME')