How to get application name on a Blade template ?

Good morning,

I'm new with Laravel. I want to show my application name on some Blade templates. I've defined the name on config/app.php file :

'name' => 'My application name',

Thanks in advance.

astroanu replied 1 year ago Solution
{{ config('') }}
Andy Agbaraku replied 9 months ago

Make the app name changes in your .env file.

Then use {{ config('') }} to display on your dot blade files.

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us