I am using Laravel 5. I would like to know which are all variables passed to a view inside the view itself.
Since all variables are in the view scope I thought I cou
Use the dd helper:
dd
{{ dd(get_defined_vars()) }}
Read more: https://laravel.com/docs/5.4/helpers#method-dd
Update (thx, @JoeCoder): you can further cutdown on the "useless" variables by doing:
{{ dd(get_defined_vars()['__data']) }}