Hey,
IMHO creating a service would be more useful if you want to encapsulate (reuse) functionality in a single class, like the one in your udemy course. Creating a helper would be only one single function doing one thing. You could create 3-4 helper functions for that one single service you posted, but that would decouple things that basically belong together.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community