# jajuma/hyva-faq

> FAQ Widget for Hyvä Themes

`composer require jajuma/hyva-faq`

Canonical URL: https://packagento.com/jajuma/hyva-faq

## At a glance

- **Vendor**: jajuma (https://packagento.com/jajuma.md)
- **Latest version**: 1.2.0 — released 2025-07-29
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/jajuma/hyva-faq and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require jajuma/hyva-faq:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

FAQ Widget for Hyvä Themes

## README

<img src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/hyva-faq-widget-extension-for-hyva-themes/Hyva-FAQ-Widget-for-Magento-2-with-Hyva-Theme.jpg">


<img align="right" width="300" height="auto" src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/hyva-faq-widget-extension-for-hyva-themes/Hyva-FAQ-Widget-Magento-2-large.png">  

<br><br>

[Hyvä FAQ Widget by JaJuMa](https://www.jajuma.de/en/jajuma-develop/magento-extensions/hyva-faq-widget-extension-for-hyva-themes) allows  
adding and managing FAQs for [Magento 2](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2) sites using [Hyvä Theme](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2-and-hyva-themes) easily.  

<br><br>

#### Compatible with

<td>
    <table>
     <tr>
        <td><b>Hyvä Themes</b></td>
        <td><b>Mage-OS</b></td>
        <td><b>Magento</b></td>
     </tr>
     <tr>
       <td><a href="https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2-and-hyva-themes"><img align="left" width="80" src="https://www.jajuma.de/media/wysiwyg/jajuma-shop/magento-with-hyva/JaJuMa-Hyvanaut-small.png"></a></td>
       <td><a href="https://www.jajuma.de/en/jajuma-shop/demo-shop-with-mage-os-and-hyva-themes"><img align="left" width="80" src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/Mage-OS-Compatible.svg"></a></td>
       <td><a href="https://www.jajuma.de/en/jajuma-shop"><img align="left" height="60" src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/magento-icon.svg"></a></td>
    </tr>
    </table>
</td>

<hr>
<div align="center">
Find all you need to know and more valuable insights about Hyvä and Magento.<br>   
Expertly curated by JaJuMa:<br>  
<br>
<a href="https://www.jajuma.de/en/hyvaverse-guide" style="float:left;">
    <img width="350" height="auto" src="https://www.jajuma.de/media/wysiwyg/jajuma-hyvaverse/Launch-The-Hyvaverse.png">
</a>
<a href="https://www.jajuma.de/en/magento-metropolis-guide" style="float:right;">
    <img width="350" height="auto" src="https://www.jajuma.de/media/wysiwyg/jajuma-magento-metropolis/Explore-The-Magento-Metropolis.png">
</a>
<br><br>
Your central resources for everything Hyvä & Magento.
</div>
<hr>


### Features

* Add 1 - x question groups
* Add 1 - x questions and answers in each question group
* Choose if question groups are shown as open or closed on desktop / on mobile
* Option to show/hide Question Group Title on desktop / on mobile
* Option to keep only one question open
* Choose icons for open/close questions
* Animated open/close
* Option to add JSON-LD structured data for FAQs

### Further Info, Extension Description & Manual

* [Extension Website EN](https://www.jajuma.de/en/jajuma-develop/magento-extensions/hyva-faq-widget-extension-for-hyva-themes)
* [Extension Website DE](https://www.jajuma.de/de/jajuma-develop/magento-extensions/hyva-faq-widget-extension-fuer-hyva-themes)

### Demos

* [Hyva FAQ Widget Demo on Hyvä Theme](https://hyva.extension.jajuma.de/hyva-faq-widget-example)
* [Hyva FAQ Widget Demo on Mage-OS](https://mage-os.extension.jajuma.de/hyva-faq-widget-example)

<img src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/hyva-faq-widget-extension-for-hyva-themes/Hyva-FAQ-Widget-Backend.png">
<hr>
<img src="https://www.jajuma.de/media/wysiwyg/jajuma-develop/hyva-faq-widget-extension-for-hyva-themes/Hyva-FAQ-Widget-Example.png">

### Installation

Install via composer as any other Magento extension from github:
```
composer require jajuma/hyva-faq
```

Note:  
The widget can be easily styled and customized.  
It is automatically included in TailwindCSS purge config (requires Hyvä Theme version >= 1.1.14)

### Platform
The following versions are supported and tested:

* [Magento 2](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2) Community Edition 2.4+ & [Mage-OS](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-mage-os-and-hyva-themes) with
* [Hyvä Theme](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2-and-hyva-themes)  

Other versions are assumed to work.

### Adding a FAQ section in Magento with Hyvä Themes using JaJuMa "Hyvä FAQ Widget"

1. To enable or disable the widget, go to  
 **JaJuMa -> Hyvä FAQ Widget -> Config & Info**  

1. Add the widget as any other Magento widget in Page Builder / WYSIWYG content   
  

### License

The code is licensed under the [MIT License (MIT)](https://github.com/JaJuMa-GmbH/hyva-faq-widget/blob/master/LICENSE)

### Other [Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions) & [Hyvä Themes Extensions](https://www.jajuma.de/en/jajuma-develop/hyva-extensions) by [JaJuMa](https://www.jajuma.de/en/jajuma)

* :framed_picture: Performance & UX:<br>[Ultimate Image Optimizer for Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions/ultimate-image-optimizer-extension-for-magento-2)<br>
  AVIF & WebP Images, Lazy Loading, High-Resolution / Retina images

* :framed_picture: Performance & UX:<br>[WebP Optimized Images for Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions/webp-optimized-images-extension-for-magento-2#portfolio-content)<br>
  The #1 WebP Images Solution for Magento 2

* :see_no_evil: SEO:<br>[PRG Pattern Link Masking for Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions/prg-pattern-link-masking-for-magento-2)<br>
  Link Masking for Layered Navigation

* :cop: User Experience:<br>[Shariff Social Share for Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions/shariff-social-share-buttons-extension-for-magento-2)<br>
  GDPR compliant and customizable Sharing Buttons

* :movie_camera: Content Management:<br>[Video Widget for Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions/video-widget-gdpr-extension-for-magento-2)<br>
  Embedding YouTube videos, GDPR compliant with auto preview image & fully responsive

_(README truncated for .md surface. Full README on https://packagento.com/jajuma/hyva-faq.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.2.0 | 2025-07-29 |
| 1.1.7 | 2024-07-18 |
| 1.1.6 | 2024-07-05 |
| 1.1.5 | 2024-04-24 |
| 1.1.4 | 2024-04-11 |
| 1.1.3 | 2023-07-21 |
| 1.1.2 | 2023-05-29 |
| 1.1.1 | 2022-09-14 |
| 1.1.0 | 2022-09-08 |
| 1.0.3 | 2022-05-31 |

Showing 10 of 13 versions. Full release history on https://packagento.com/jajuma/hyva-faq.

## Quality

Latest release (1.2.0) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 44 | 44 warnings (ruleset: Magento2) — 2 auto-fixable with phpcbf |
| PHPMD | Warning | 4 | 4 rule violations (UnusedFormalParameter:3, IfStatementAssignment:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 14 | 14 | – | – |
| 2.4.8 | – | 14 | 14 | – |
| 2.4.9 | – | – | 14 | 14 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["jajuma/hyva-faq"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

jajuma is a Magento 2 vendor on Packagento. See https://packagento.com/jajuma.md for their full catalogue.

