Tagged: injections

Injecting services in Blade templates in Laravel 5.1 0

Injecting services in Blade templates in Laravel 5.1

It could be usefull to automatically inject some service in blade template (especially in partials). Now it can be done in folowing way: