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

Morphable with HasOne - getting the right info

It's hard to understand your setup. Better show the tables, models or just the relations involved, t...

0 Likes
replied 11 years ago

Eager loading with aggregate functions/relations

Use this: class Post extends Eloquent { // if you don't want it to be appended always, don't se...

0 Likes
Solved
replied 11 years ago

$morphClass not used by morphTo()?

Here's the solution: http://stackoverflow.com/a/27909753/784588

0 Likes
replied 11 years ago

Model does not have "restored" event?!

It is: http://laravel.com/docs/4.2/eloquent#soft-deleting And btw should you have a headache again,...

0 Likes
replied 11 years ago

SoftDeletingTrait

You're talking about what the methods do, not what the class is responsible for. Yes, you could do e...

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.