Sharing data between views in Laravel

There are two approaches to sharing data across  views  in Laravel, view share and view composer. In this tuts I will give you a brief overview of both of them  and more importantly what you should be careful about when using composer. Now, let's dive in.