Laravel Community Tools by Tighten

Popular tricks

458 tricks
Here posts and categories have many to many relationships. the tricks are to fetch posts having a particular category attribute with categories details.
sanjok1988 6 years ago 11728
For the official Laravel (4, 5) documentation website. Github: https://github.com/Webaty/Awesome-Laravel-documentation-bookmarklet - Features: 1. AJAX Pagination. 2. All external links open up in a new window. 3. Browser (back and forward). 4. Left sidebar fixed position with scrollbar. - Usage: 1. Open your browser. 2. Create a new bookmark. 3. Set the bookmarklet name and paste the code below as the URL. 4. Open http://laravel.com/docs/ then click on the new bookmarklet.
aymangado 11 years ago 11689
Previously, if you wanted to output a default value of a string in Blade you would put a condition that checks if the variable is set, otherwise defaults to some value. Now you can shorten the code by using the keyword "or" to specify what should be displayed if the variable is not set.
msurguy 12 years ago 11369
Get products count which are under sub categories of a parent category
Faridbabay... 4 years ago 11581
You can use this when you want to add a placeholder to your Form::selectRange or Form::selectMonth.
soffan 11 years ago 11535
cannot end a section without first starting one in new Laravel 5.3
shahmir811 9 years ago 11508
Sometimes, you may want to use different pagination types across your application. By default, Laravel will use the type specified in your app/config/view.php file, so you need to override this setting when you wish to use another type. Here is how to do so.
coucou 12 years ago 11429
Use this to generate a select box from a Eloquent Collection
xLink 12 years ago 11388