List all registered variables inside a Laravel view
Use the dd
helper:
{{ 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']) }}
Kind of the same, but a bit tidier :
{{ dd($__data) }}