How to pass multiple variables by controller to blade file?
return view('view-file', compact('var1', 'var2', 'var3'));
NOTE :- variables in compact will be used without $ sign
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain, how to get current environment in laravel 5?
What is the use of slug in laravel?
Tell me what is system requirement for installation of laravel 5.2 (latest version)?
What is blade template engine?
Tell me how to enable maintenance mode in laravel 5?
How to enable multiple php versions in homestead?
What is oauth2 in laravel?
What are blade templates?
How to stop mysql on valet?
what is Restful Resource Controllers ?
What is tinker in laravel?
How can you enable query log in laravel?