I noticed if I pass a second parameter to @include like this:
@include('sidebars.pages', array('categories' => Category::all())) Then it is possible to replicate the concept of render partials within views and render partials within partials like in Rails.
Do I still need view composers with this functionality?
I appreciate any help!