Tutorial
3 min read
Free
How to Pass Global Variables to Blade: View Share and Composer
Imagine you want to show some "global" data in the Blade: for example, the number of new users this week on the top navigation. Not sure what Controllers would the data come from? Then you can perform that action in the Service Provider, in three ways.