Support the ongoing development of Laravel.io →
posted 4 years ago

Hi,

I'd like to have skinny controllers, but also skinny models. I usually put only relations in models and methods like "markAsProcessed" which updates status.

Currently, I create a record in a database and have an observer that executes.

I'd like to avoid adding too much logic in observer, but also I don't want to do calculations in model. Do you have any suggestions?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Nedim nedim Joined 11 Sep 2020

Moderators

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.

© 2025 Laravel.io - All rights reserved.