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

Laravel join with LIKE

I think that in fact you need to concatenate ... $join->on('tx_ard_researches.incharge', 'LIKE',...

0 Likes
replied 11 years ago

One-to-one relation through pivot table

Well, of course! The problem was address() while it should be accessor getAddressAttribute(). Fix in...

0 Likes
replied 11 years ago

One-to-one relation through pivot table

You have wrong order of the keys in belongsToMany, it should be: return $this->belongsToMany('My\...

0 Likes
replied 11 years ago

One-to-one relation through pivot table

torkiljohnsen said: Nice, @jarektkaczyk, thanks I'll try that. Btw your code contains $this->cat...

0 Likes
replied 11 years ago

Saving data array using Eloquent ORM saves only one data row not multiple row

It is not supposed to save 3 rows if you work on a single model. What you are doing now is: take a M...

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.