Local module directory naming conventions in Magento
Learn Magento local module directory naming conventions with PSR4 vendor and module folders using TitleCase names.
Lesson Content
Local module development is always done in app/code.
Under this directory is a very specific naming convention. Magento uses a naming convention called PSR-4 to load files in this directory.
There can be many folders under code, and each one correlates to a vendor name.
We need to pick a vendor name. It needs to start with a capital letter, and can’t contain any spaces or dashes.
So for example, this could be your first and last name, MarkShust
Or, it could be a company name. For example, Macademy
If you are development this module or customization just for a specific...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.