Laravel Community Tools by Tighten

Popular tricks

458 tricks
This query searches the data from the Table and also with its relation table columns dynamically.
Muzamil-kh... 4 years ago 10120
Sometimes you want to paginate a table in an order, but when showing the items you need to reverse the order. Using the array_reverse on Paginator wont work, but if you use the getItems() its possible.
diegofelix 12 years ago 10041
Append array in $request::all() while saving data in laravel 5.2
mlselegant 10 years ago 10027
lighttpd server configuration files
yuchao 11 years ago 10035
Hi, I got the example by Dastan Turysbekov (http://laravelsnippets.com/snippets/menu-activated) and changed a little bit. It's a simple Macro to use with Active Menu. You can use parameters and attributes as well.
marcelofer... 11 years ago 9980
Catch all routes and paths using the auth filter. A route validation method is added to the Users model called hasAccess($route) and returns true if the user has that route. If the user doesn't have the route the error message will inform of what access they are missing.
somadden 12 years ago 9903
Laravel OTP is a comprehensive package that simplifies the generation and verification of Time-based One-Time Passwords (TOTP) and HMAC-based One-Time Passwords (HOTP). Whether you're building two-factor authentication or securing API access, Laravel OTP offers an easy-to-use, Google Authenticator-compatible solution. With support for TOTP and HOTP, and built-in methods for secret generation and verification, this package is perfect for adding an additional layer of security to your Laravel applications.
mustafakha... 1 year ago 9940
These are helper functions which allow you to write more concise router code:
imanghafoo... 11 years ago 9929
5.0
# Report(): The report() method allows us to log the raised exceptions or parse them to various error logging engines like the sentry. All this method does by default is passing the thrown exception to the base class where it is logged, but we are free to customize.
harshaldos... 5 years ago 9927