I am rather new to laravel. I have a basic question, What is the best way to add constants in laravel. I know the .env method that we use to add the constants. Also I have mad
require app_path().'/constants.php'; define('ADMIN', 'administrator');
or -
You can also move more sensitive info
return [ 'hash_salt' => env('HASH_SALT'), ];
And use it like before:
echo Config::get('constants.hash_salt');