Laravel Community Tools by Tighten

Tag "templating" tricks

57 tricks
Manage all dynamic application settings in one place
haruncpi 6 years ago 6767
A very simple and easy setup laravel package for captcha.
haruncpi 6 years ago 7211
Standard API Response in PHP / Laravel
saeedvir 6 years ago 7059
Make a sitemap for your laravel blog site. Posted on https://bit.ly/36v9Elp
haruncpi 6 years ago 6832
There are not any option to disable view cache in Laravel but in windows you can use following .bat file out of box and in other OS's you can do something similar...
tuytoosh 6 years ago 11940
What if you want to use the @push blade directive but you don't want it to push twice the same content? For example, if you have a UI component that loads JS files and you want to reuse that component in the same view, so without this trick it will load twice your JS code from your different UI components.
laraning 8 years ago 7721
We don't like to duplicate a form for the "create" and "edit" methods. But how can you then put a value using the old and at the same time using the model attribute value without raising an exception?
laraning 8 years ago 3904
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 4374
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 4067