Third-party module directory naming conventions in Magento
Learn Magento third party module directory naming conventions, vendor folder structure, and PSR 4 autoloading.
Lesson Content
While we are on directory naming conventions, we’ll have an aside for a moment and also find out how the vendor folder is organized.
This is similar to app/code, but rather than TitleCase, they use something called kebab case. This is all lowercase, and dashes are used to separate words rather than upper case letters.
For example, core Magento modules are located in the vendor/magento folder and are all prefixed with module-. So for example the Magento Catalog module is at vendor/magento/module-catalog.
But the vendor name and module name don’t exactly come from the naming...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.