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

How to pass relation parent id to the new custom Collection upon relation call?

So here is what I did to get it work, but if anyone knows better solution please advise! // User mod...

0 Likes
replied 11 years ago

Saving dynamically created form field array to db Laravel way

The idea behind the easy way is that you can run single query for the insert query providing array o...

0 Likes
replied 11 years ago

Would firstOrDefault(...) be useful to others?

There is firstOrNew() what works just the same and in case of not finding anything will return new i...

0 Likes
replied 11 years ago

Saving dynamically created form field array to db Laravel way

There is: // The EASY way: // adjust form to this: {{ Form::text('first_names[][first_name]', null,...

0 Likes
replied 11 years ago

Eloquent One to Many With Condition

There are a few mistakes in your query: 1 orderBy is in whereHas so it doesn't do anything 2 your fi...

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.