Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Creating the @route Blade Directive
Aug 28, 2019 @ 16:00:02

Laravel offers a bunch of useful and handy directives that we can use in our templates. But easily, we can face a situation that we repeat some code in our blade files. In this case, it’s possible that we can refactor some code to its own directive.

Wrapping Helpers in Directives Laravel of...


Link: https://pineco.de/creating-the-route-blade-directive/

Trending Topics: