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

forceDelete() Deletes all rows if no "deleted_at" column exists

If it's ver 4.2, then in case you don't use SoftDeletingTrait in your model, you call forceDelete me...

0 Likes
replied 11 years ago

Route Model Binding

Then you'd probably define protected $primaryKey on the model, what means, that route model binding...

0 Likes
Solved
replied 11 years ago

Getting a field name on a related related field

$servicecase->actions() // with () in order to work with the query, not collection ->orderby('...

0 Likes
Solved
replied 11 years ago

Laravel5, eloquent - one to one.

You must distinguish property call from method call on the relation: // dynamic property call $model...

0 Likes
Solved
replied 11 years ago

Retrieve Relationship Properties

Model::find($id); returns single model, not a collection that you'd like to loop through. Also use...

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.