When would you place a module in the app/code folder versus another location?

While there is some debate on this, for the sake of simplicity, you should place
your code in the app/code directory.
The other common location is vendor/ where modules specified in the project’s
composer.json file are installed.


Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top