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

Many to Many Polymorphic relationship catch-all method?

No, you can't do that. Laravel needs to know what to instantiate. Also Eloquent Collection relies on...

0 Likes
replied 11 years ago

Many to Many eager loading strange behaviour

BelongsToMany relation is bugged and there is no way to choose only given columns with select. There...

0 Likes
replied 11 years ago

Get an user who has specific relationships

You need where in and having count(distinct .. ) mix in SQL (MySQL). You can also do it with has in...

0 Likes
Solved
replied 11 years ago

List of perticular date entries

where( DB::raw( 'DATE(created_at)' ), Carbon\Carbon::now()->toDateString()) or with db function...

0 Likes
Solved
replied 11 years ago

How specify columns with using ::with() ?

You can use $hidden property on the model. But I encourage you to use transformers when you output j...

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.