View Composers: View Creators

View::creator('profile', 'App\Http\ViewCreators\ProfileCreator');
  • Are very similar to view composers.
  • They are executed immediately after the view is instantiated instead of waiting until the view is about to render.
  • To register a view creator, use the creator method.

View Composers: View Creators — Structure map

Clickable & Draggable!

View Composers: View Creators — Related pages: