Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel blade global variable

// AppServiceProvider

public function boot()
{
    View::share('globalVarName', 'Global Var Value');
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #laravel #blade #global #variable
ADD COMMENT
Topic
Name
5+9 =