Laravel Community Tools by Tighten

Dave Stewart

Joined: 10 years ago
Total tricks: 3
Last trick: 10 years ago

Submitted tricks

Blade's path syntax is a little odd - it uses dots instead of slashes, and always requires you to start your paths from the views root. This Blade extension allows you to pass paths with slashes, and correctly resolves parent paths via the traditional ../ syntax. Lastly, the quoting of paths is optional.
davestewar... 10 years ago 11660
Helper function to mass-map routes to methods. I use this setup in development to quickly map all "test/*" routes to a Test controller, to test out arbitrary PHP code. Updated version also supports DI in controller methods. Updated to correctly fill optional arguments.
davestewar... 10 years ago 12528
5.0
A couple of view creators that inject variables or text into views
davestewar... 10 years ago 7205