What is the optimal storage structure for custom classes in Laravel 11?
Hello.
What is the optimal storage structure for custom classes in Laravel 11?
I need to create a custom class for Laravel. Where is the best place to store it? Should I create an App\Services or App\Libraries folder? The class interacts with a third-party site via an API. Will only be used in Console\Commands
1 Reply
It's your personal preference. If it's used only in Console\Commands then I would put it in the same folder, probably