Loading player...

When should you keep logic in your Eloquent models, and when should you extract it into a service class? Let's walk through an example to find that balance between large models and clean, testable services.

Would you like to hear from Laracasts by email occasionally?