magehx / htmx-actions
Magento 2 module that provides a base controller to manage HTMX requests.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
This package is not auto-updated.
Last update: 2025-05-11 05:33:17 UTC
README
Magento 2 module that provides a base controller to manage HTMX requests.
✨ Features
An HTMX request expects an HTML snippet in response, which will be dynamically swapped into the frontend page.
This module provides an abstract controller, MageHx\HtmxActions\Controller\HtmxAction, designed to simplify this process.
It offers a convenient base for handling common HTMX response scenarios, allowing you to return HTML fragments efficiently and consistently.
📦 Installation
composer require magehx/htmx-actions
🔗 Requirements
- PHP 8.1+
🛠️ License
MIT – free to use and modify.
💬 Feedback / Contributions
PRs and issues are welcome!