You can use http://laravel.com/docs/4.2/eloquent#model-events and/or http://laravel.com/docs/4.2/eloquent#model-observers. You can pass the Request when instantiating your observer and do your business logic there. Avoid doing it on a controller. You can also create a Model Manager to do some business logic there.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community