magedesigner / magento2-first-module
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2025-04-23 20:27:48 UTC
README
This is a Magento 2 - Hello World module created as a composer submodule.
Requirements
-
Magento Composer Installer: To copy the module contents under app/code/ folder. In order to install it run the below command on the root directory:
composer require magento/magento-composer-installer
-
Add the VCS repository: So that composer can find the module. Add the following lines in your composer.json
"repositories": [ { "type": "vcs", "url": "https://github.com/javilumbrales/magento2-first-module" }],
Installation
-
Add the module to composer:
composer require lumbrales-software/magento2-first-module
-
Add the new entry in
app/etc/config.php
, under the 'modules' section:'LumbralesSoftware_HelloWorld' => 1,
-
Clear cache
Usage
http://yourstore/helloworld/index/
Feel free to contribute, and contact me for any issues.
You can also drop us a comment at www.thedeveloperworldisyours.com/php/create-magento-2-composer-module/
Version
Updated to version 1.0.1 to achieve a stable version and demonstrate the handling of module updates via composer and tags Updated to version 1.0.2 to test module update via composer and tags