Have you heard of the pipeline pattern? The pipeline pattern is used by Laravel internally, and is a really nice way to clean up your code.
I found a video that explains it well. I watched yesterday, then today I did a code-along and built it myself to reinforce the concepts. If you haven’t used this pattern before, definitely check out the video and learn something new today! 😊