Support the ongoing development of Laravel.io →
jarektkaczyk

jarektkaczyk

Joined 25 Mar 2014

Statistics

Threads 5
Replies 242
Solutions 55
Articles 0

super Easy Global Scope definition

If you ever created complex global scope constraint, you must have faced a challenge with defining r...

0 Likes
0 Replies

How to search eloquent models with relations

Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...

0 Likes
3 Replies

Eloquence - a must have package for eloquent

Do you use Eloquent in your apps? It's simply fun to work with, right? I think the same, but after s...

0 Likes
3 Replies

Easy db revisions with Sofa/Revisionable

I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...

0 Likes
3 Replies
0 Likes
1 Replies
replied 11 years ago

Different price for each user for each product : Pivot table relation query !

Is it literally fixed custom price for each user? It seems a bit unreal, imagine you need to manage...

0 Likes
replied 11 years ago

Can't change user's password

It's because your mutator is wrong and should look like this to work: public function setPasswordAtt...

0 Likes
replied 11 years ago

Accessing relations using snake_case

Probably it won't change any soon and it is working for relations (while not for the attributes) bec...

0 Likes
Solved
replied 11 years ago

Pivot tables

Your relations are wrong, suggested key names on pivot table are wrong too. Here's what you should d...

0 Likes
replied 11 years ago

Simplifying Many to Many relationship with partial constraints

The easiest way to fetch those far related models is this: $user = User::with('groups.projects')->...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.