Laravel Community Tools by Tighten

Popular tricks

458 tricks
if you need to make a single ton class and you need to access that in your whole application do that in laravel 5
wasiqaftab 10 years ago 7856
replace this in the start/global.php file:
Mahmoudz 11 years ago 7783
One file for all routes is bad idea. For simplify this, look this snippets.
sr2ds 8 years ago 7773
4.2
When I was testing some code I wanted to check if some variable in a JSON column was updated. I was thinking about a LIKE query but when I digged into Laravel's code I saw the following possibility. After all it was pretty obvious because you can do this with normal queries as well, but I still wanted to share this solution.
MrAtiebati... 9 years ago 7696
A simple and easy setup laravel log file reader.
haruncpi 6 years ago 7708
In some cases Netshell/Paypal throws error "Class Paypal does not exist". In my case on ubuntu/php7/nginx (on windows with apache is ok). So here is simple workaround
escapeboy 10 years ago 7700
There are three components to generating a Facade: 1 - The wanna be Facade Class, (the class that needs to become a facade). 2 - The Facade required Class, (which tells Laravel which registered class it pertains to) 3 - A Service Provider, (which registers the Facade class in the App container)
Mahmoudz 11 years ago 7675
Simple breadcrumb which does not require anything more than a blade. Clone it from github [https://github.com/sina-rzp/laravel-simple-breadcrumb].
sina-rzp 9 years ago 7665
insert update delete UserController.php
Darshan Ma... 10 years ago 7656