Laravel Community Tools by Tighten

Recent tricks

458 tricks
Laravel H is a helper package for Laravel Framework. GitHub: https://github.com/haruncpi/laravel-h
haruncpi 5 years ago 16312
GroupBy clause with multiple columns select in laravel
sanjok1988 5 years ago 20442
case: user has many posts and post has many comments. we need user's posts with comments:
sanjok1988 5 years ago 13315
DB Seeder tool: https://github.com/haruncpi/db-seeder
haruncpi 5 years ago 13448
If I Let You Go, I Will Never Know - Westlife
saiming96 5 years ago 12736
Package that provides easily communicate between bigbluebutton server and laravel framework
joisarjign... 5 years ago 14626
Here a user has a location with many to many positions. This query finds users having position id 4 and location id 6. the tables are users, profile, locations. and profile has location_id.
sanjok1988 5 years ago 12755
The main difference is which side of the relationship holds the relationship's foreign key. The model that calls $this->belongsTo() is the owned model in one-to-one and many-to-one relationships and holds the key to the owning model.
sanjok1988 5 years ago 20088
search query from scope in laravel model
sanjok1988 5 years ago 9742