In a recent video, I've transformed Controller code into a Service class, and some people in the comments argued about using Traits instead. Let me comment on that example, adding a few more examples of Traits in other projects.
Previous video: • Laravel Controller Code: Move to Mode...
Support the channel by checking out our products:
Enroll in my Laravel courses: https://laraveldaily.teachable.com
Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
Buy my readymade Laravel scripts: https://laraveldaily.gumroad.com
Purchase my Livewire Kit: https://livewirekit.com
Subscribe to my weekly newsletter: http://bit.ly/laravelnewsletter