PHPackages                             hk2/core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hk2/core

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

hk2/core
========

HK2 Core module (base for all Magento HK2 extensions)

1.0.0(3mo ago)00OSL-3.0ShellPHP ^8.1 || ^8.2

Since Jan 28Pushed 3mo agoCompare

[ Source](https://github.com/basantmandal/magento2-hk2-core)[ Packagist](https://packagist.org/packages/hk2/core)[ RSS](/packages/hk2-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

HK2 Core Module
===============

[](#hk2-core-module)

[![Version](https://camo.githubusercontent.com/e2367100cba06fb4b49ccbd7f8af46d40475360ed7a8848eb3865ba62c16ba65/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c75653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/e2367100cba06fb4b49ccbd7f8af46d40475360ed7a8848eb3865ba62c16ba65/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c75653f7374796c653d666f722d7468652d6261646765)[![Website](https://camo.githubusercontent.com/97abede6ef9d39c24afb170d197f65ebc4b8c7b17be5c1081fa7912aa2899bea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f776562697374652d3030303f7374796c653d666f722d7468652d6261646765266c6f676f436f6c6f723d7768697465)](https://www.basantmandal.in/)[![linkedin](https://camo.githubusercontent.com/9745a59ad4a919d2e524512c3f732c820d4aa0fe927def4f37c4aba08f7e42bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c696e6b6564696e2d3041363643323f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e266c6f676f436f6c6f723d7768697465)](https://www.linkedin.com/in/basantmandal/)

**Base module for all HK2 Magento 2 extensions**

HK2 Core provides shared functionality, helpers, and configuration that powers all HK2 Magento 2 modules. It must be installed **before any other HK2 extensions**.

---

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

[](#-features)

- Common utilities and helper classes for HK2 modules
- Base configurations and setup
- Ensures consistent behavior across all HK2 extensions
- Lightweight, modular, and compatible with Magento 2.4.x+

---

⚙️ Requirements
---------------

[](#️-requirements)

- PHP 8.2 or higher
- Magento 2.4.4 or higher
- Magento Framework ^103.0

---

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

[](#-installation)

### Using Composer (Recommended)

[](#using-composer-recommended)

```
composer require hk2/core:^1.0
```

> HK2 Core must be installed before other HK2 modules like `hk2/addbootstrap5`, etc.

### Manual Installation

[](#manual-installation)

1. Download the module code.
2. Place it in `app/code/HK2/Core`.
3. Run Magento setup commands:

```
php bin/magento module:enable HK2_Core
php bin/magento setup:upgrade
php bin/magento cache:flush
```

---

🛠 Usage
-------

[](#-usage)

Other HK2 modules automatically depend on HK2 Core, so no direct configuration is typically needed. HK2 Core provides reusable classes and helpers for all extensions.

---

🔒 Privacy
---------

[](#-privacy)

This module **does not read, store, or transmit any personal data** (logins, passwords, messages, contacts) from your system or websites.

---

📫 Support
---------

[](#-support)

For support, bug reports, or feature requests, email:

For bug reports, please open an [issue on GitHub](https://github.com/basantmandal/magento2-hk2-core/issues). Include as much detail as possible to help us fix the issue quickly.

---

🍰 Contribution Guidelines
-------------------------

[](#-contribution-guidelines)

We welcome contributions!

1. Fork the repository
2. Create a branch: `git checkout -b feature/your-feature-name`
3. Make your changes and commit: `git commit -am 'Add new feature'`
4. Push to your branch: `git push origin feature/your-feature-name`
5. Open a pull request

> Note: Response times may vary due to limited availability.

---

🤝 Consent &amp; Disclaimer
--------------------------

[](#-consent--disclaimer)

By using any product/module/application from **Basant Mandal (HK2 - Hash Tag Kitto)**, you agree to our disclaimer and terms:

> **Disclaimer:** HK2 Core is provided as-is. No warranties are made regarding completeness, reliability, or accuracy. Any action taken using this module is at your own risk. **Basant Mandal** is not liable for any damages or losses.

---

⭐ Support &amp; Appreciation
----------------------------

[](#-support--appreciation)

If you like my work:

- Give stars on [GitHub](https://github.com/basantmandal/magento2-hk2-core)
- Support via [Buy Me a Coffee](https://www.buymeacoffee.com/basantmandal)or

---

📄 License
---------

[](#-license)

[OSL-3.0](https://opensource.org/licenses/OSL-3.0)

---

👤 Author
--------

[](#-author)

- **Basant Mandal** – Technical Support &amp; Development
- **Email**:
- **Website**:
- **LinkedIn**:

---

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance79

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

111d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffa270f1557c4c55c55fec1ad6f2544170980c8dd7f679c10582a3736f7d3a4c?d=identicon)[basantmandal](/maintainers/basantmandal)

---

Top Contributors

[![basantmandal](https://avatars.githubusercontent.com/u/69835601?v=4)](https://github.com/basantmandal "basantmandal (6 commits)")

---

Tags

extensionmagento2HK2Basantbasantmandal.inHK2\_Core

### Embed Badge

![Health badge](/badges/hk2-core/health.svg)

```
[![Health](https://phpackages.com/badges/hk2-core/health.svg)](https://phpackages.com/packages/hk2-core)
```

###  Alternatives

[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[sbodak/magento2-checkout-custom-form

Add a custom form to Magento 2 checkout on the shipping step.

993.5k](/packages/sbodak-magento2-checkout-custom-form)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)[collab/module-consent-mode

Cookie Consent Mode Popup Extension for Magento 2

121.8k](/packages/collab-module-consent-mode)

PHPackages © 2026

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