PHPackages                             kalicr/magento2-helloworld - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kalicr/magento2-helloworld

ActiveMagento2-module

kalicr/magento2-helloworld
==========================

A simple Hello World module for Magento 2 - Demo for Packagist

1.0.1(5mo ago)02MITShellPHP ~7.4.0||~8.1.0||~8.2.0

Since Dec 7Pushed 5mo agoCompare

[ Source](https://github.com/gamta/kalicr-magento2-helloworld)[ Packagist](https://packagist.org/packages/kalicr/magento2-helloworld)[ RSS](/packages/kalicr-magento2-helloworld/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Kalicr HelloWorld - Magento 2 Module
====================================

[](#kalicr-helloworld---magento-2-module)

[![Magento 2](https://camo.githubusercontent.com/4fc4be46d635599bfb958016861b2df6e5af7ae0e813d3d9e2a22eb85408141e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342d6f72616e67652e737667)](https://camo.githubusercontent.com/4fc4be46d635599bfb958016861b2df6e5af7ae0e813d3d9e2a22eb85408141e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342d6f72616e67652e737667)[![PHP](https://camo.githubusercontent.com/24588fa4a949304743b2ea920d7864b56309368079e41fac0e3f839cb872b7e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e34253230253743253230382e31253230253743253230382e322d626c75652e737667)](https://camo.githubusercontent.com/24588fa4a949304743b2ea920d7864b56309368079e41fac0e3f839cb872b7e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e34253230253743253230382e31253230253743253230382e322d626c75652e737667)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)

A simple and elegant Hello World module for Magento 2, created to demonstrate best practices for module development and Packagist publication.

🚀 Features
----------

[](#-features)

- ✅ Clean and modern UI with gradient design
- ✅ Frontend route: `/helloworld`
- ✅ Custom block with helper methods
- ✅ Fully styled template with responsive CSS
- ✅ Complete Magento 2 module structure
- ✅ PSR-4 autoloading
- ✅ Ready for Packagist.org publication

📋 Requirements
--------------

[](#-requirements)

- Magento 2.4.x
- PHP 7.4, 8.1, or 8.2
- Composer

📦 Installation
--------------

[](#-installation)

### Method 1: Via Composer (Recommended)

[](#method-1-via-composer-recommended)

```
composer require kalicr/magento2-helloworld
php bin/magento module:enable Kalicr_HelloWorld
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
```

### Method 2: Manual Installation

[](#method-2-manual-installation)

1. Create directory: `app/code/Kalicr/HelloWorld`
2. Download and extract the module files into this directory
3. Run the following commands:

```
php bin/magento module:enable Kalicr_HelloWorld
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
```

🎯 Usage
-------

[](#-usage)

After installation, visit:

```
https://your-magento-site.com/helloworld

```

You'll see a beautiful Hello World page with:

- Module information
- Current date and time
- Feature list
- Installation instructions

📁 Module Structure
------------------

[](#-module-structure)

```
kalicr-magento2-helloworld/
├── Block/
│   └── HelloWorld.php              # Block class with helper methods
├── Controller/
│   └── Index/
│       └── Index.php               # Frontend controller
├── etc/
│   ├── module.xml                  # Module declaration
│   └── frontend/
│       └── routes.xml              # Route configuration
├── view/
│   └── frontend/
│       ├── layout/
│       │   └── helloworld_index_index.xml  # Layout XML
│       ├── templates/
│       │   └── helloworld.phtml    # Template file
│       └── web/
│           └── css/
│               └── helloworld.css  # Styles
├── composer.json                    # Composer configuration
├── registration.php                 # Module registration
├── README.md                        # This file
└── LICENSE                          # MIT License

```

🎨 Customization
---------------

[](#-customization)

### Change the Welcome Message

[](#change-the-welcome-message)

Edit `Block/HelloWorld.php`:

```
public function getWelcomeMessage()
{
    return __('Your Custom Message!');
}
```

### Modify Styles

[](#modify-styles)

Edit `view/frontend/web/css/helloworld.css` to customize colors, fonts, and layout.

### Add New Features

[](#add-new-features)

1. Add methods to `Block/HelloWorld.php`
2. Use them in `view/frontend/templates/helloworld.phtml`
3. Style with `view/frontend/web/css/helloworld.css`

🔧 Development
-------------

[](#-development)

### Running Tests

[](#running-tests)

```
php bin/magento dev:tests:run unit
```

### Code Standards

[](#code-standards)

This module follows Magento coding standards. To check:

```
vendor/bin/phpcs --standard=Magento2 app/code/Kalicr/HelloWorld
```

📝 Changelog
-----------

[](#-changelog)

### Version 1.0.0 (2025-12-07)

[](#version-100-2025-12-07)

- Initial release
- Frontend route implementation
- Custom block and template
- Responsive CSS design
- Complete documentation

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

📄 License
---------

[](#-license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

👨‍💻 Author
----------

[](#‍-author)

**David Gamboa**

- Email:
- Company: Kalicr

🙏 Acknowledgments
-----------------

[](#-acknowledgments)

- Magento 2 Documentation
- Magento Community
- Packagist.org

📞 Support
---------

[](#-support)

If you encounter any issues or have questions, please:

1. Check the [documentation](README.md)
2. Search for existing [issues](https://github.com/yourusername/kalicr-magento2-helloworld/issues)
3. Create a new issue if needed

🔗 Links
-------

[](#-links)

- [Packagist Package](https://packagist.org/packages/kalicr/magento2-helloworld)
- [GitHub Repository](https://github.com/yourusername/kalicr-magento2-helloworld)
- [Magento Marketplace](https://marketplace.magento.com/)

---

Made with ❤️ by David Gamboa - Kalicr © 2025

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance72

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b2df04b381d264cc1cc5cd6b9eed3df962be5296daf9e5040bbce3c7d546754?d=identicon)[Gamta](/maintainers/Gamta)

---

Top Contributors

[![dgamboa-433](https://avatars.githubusercontent.com/u/257865437?v=4)](https://github.com/dgamboa-433 "dgamboa-433 (2 commits)")

---

Tags

magentomoduledemomagento2hello worldkalicr

### Embed Badge

![Health badge](/badges/kalicr-magento2-helloworld/health.svg)

```
[![Health](https://phpackages.com/badges/kalicr-magento2-helloworld/health.svg)](https://phpackages.com/packages/kalicr-magento2-helloworld)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69344.4k](/packages/run-as-root-magento2-prometheus-exporter)[smile/module-elasticsuite-cms-search

Smile Elasticsuite - Cms Pages Search Module for Smile Elasticsuite.

25916.7k1](/packages/smile-module-elasticsuite-cms-search)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[mage-os/module-admin-activity-log

The Admin Activity extension makes it easy to track all admin activity with comprehensive audit logging.

261.4k](/packages/mage-os-module-admin-activity-log)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
