Data Interceptor for your views — Laravel 5.5
Too Long; Didn't Read
A couple of days ago I saw a message on Laravel Internals from <a href="https://medium.com/@cviebrock" data-anchor-type="2" data-user-id="31bfa0ebce3d" data-action-value="31bfa0ebce3d" data-action="show-user-card" data-action-type="hover" target="_blank">Colin Viebrock</a> asking about intercepting data passed from controllers to the view. Here is how I did it.