Create a Simple Module in Magento 2 - ( Step by step guide ) [ Magento Hello world module ]

Опубликовано: 05 Апрель 2026
на канале: Know the Mage
243
7

Let us talk about how we can create a basic module for magento 2. This tutorial assumes that you have installed magento with latest version on your machine and you have basic knowledge in magento and magento2.
To get started we have to go through the following steps:

0:00 Introduction
0:04 Create Vendor and module directories
0:17 Create module.xml configuration file
1:11 Register your component
2:06 Check your module in module list
2:28 Enable your module using CLI
2:41 Setup & deploy your module
2:58 Define your module frontend router
4:20 Create a controller
5:48 Running your newly created route with your store URL
6:03 Create another controller and check output
6:57 End

Subscribe to stay tuned:    / @knowthemage