Video Lesson: Third-party module directory naming conventions in Magento

Third-party module directory naming conventions in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

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...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.