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
You can simply do this:
Put your constants to 'config/app.php' on main array, like:
'CONSTANT_NAME' => 'CONSTANT_VALUE',
Use them where ever you want with:
{{ Config::get('CONSTANT_NAME') }}