Laravel Community Tools by Tighten

Tag "blade" tricks

45 tricks
I originally published this trick on Medium: https://medium.com/@simondepelchin/how-to-use-font-awesome-5-svgs-with-laravel-blade-a5dc93743cd0
webartisan 8 years ago 5577
Sometimes you have a blade view, and you would like to render a certain HTML code only if your controller action is the one you passed in the directive.
laraning 8 years ago 4568
If you have a @yield directive, you know that you can pass a default content in the 2nd argument. What if you want to pass the content of a view?
laraning 8 years ago 4249
This helper will helps you to serve the assets which is last updated by the server. The Main aim of this helper to eliminate the cache of the assets we updated in server.
decipher 8 years ago 5536
Remove tags in controller with excepts fields https://gist.github.com/oLDu67/10863c9f51064d1d9390016b28143f85
racibaz 8 years ago 11252
Check if string is in any url segment or at the one specified.
pabloleone 8 years ago 9890
Laravel Load More Data on Page Scroll – Laravel 5
dave 9 years ago 9281
This example provides a quick and simple method to generate a hash for a model without saving a UUID/GUID to the database.
Donny5300 9 years ago 8445