how to make global variable in Laravel?

Posted by LaravelIndia - 1 year ago

config/global.php

return [
    'siteTitle' => 'App Site',
    'pagination' => 5,
    'tagLine' => 'Welcome to our mip tips.'
];        

uses : define Global Variables in Laravel

{{ config('global.siteTitle') }}