Support the ongoing development of Laravel.io →
posted 8 years ago
Architecture
Last updated 6 months ago.
0

I use models for that. I don't think Helpers have anything in common with controllers.

Last updated 6 months ago.
0

I realize I gave pretty bad examples here - I'm more aiming at functionality that doesn't pertain to a single model, but rather just helper classes that are useful for a bunch of different controllers/models. Essentially just normal helper functions that are useful to a few controllers.

I also normally wouldn't want to stuff my models with a lot of app-level logic, like you mentioned, in MVCs I've used in the past - is that something that's normally done in Laravel?

Last updated 6 months ago.
0

looking for something like this myself.

In past worked on codeigniter where you can use different classes in controllers.

Last updated 6 months ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

pb376 pb376 Joined 28 Nov 2014

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.

© 2022 Laravel.io - All rights reserved.