When You Want a View Partial to Always Receive Data

Episode 25 Run Time 16:14

One initial gotcha that you'll encounter, when building your first Laravel app, is the need to always make some variable available to a view or view partial. Do you place the binding in your controller method? Well, what about every other route that loads the view? Certainly, the answer isn't to duplicate these bindings all over the place. Instead, we'll make use of view composers.

Publish Date: February 11, 2015

Please note that this series has been archived.