# aplazame/magento2

> Aplazame Magento 2 module

`composer require aplazame/magento2`

Canonical URL: https://packagento.com/aplazame/magento2

## At a glance

- **Vendor**: aplazame (https://packagento.com/aplazame.md)
- **Latest version**: 3.2.1 — released 2025-10-06
- **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/aplazame/magento2 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 aplazame/magento2:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Aplazame Magento 2 module

## README

[ ![Image](https://aplazame.com/landing-assets/images/banners/banner-1517-white.png "Aplazame") ](https://aplazame.com "Aplazame")

**Compatible with**

Magento CE 2.0.0.0+

##### Installation

From Magento 2 root directory type the following commands in the console.

```
composer require aplazame/magento2
php bin/magento module:enable Aplazame_Payment
php bin/magento setup:upgrade
php bin/magento setup:di:compile
```

You can also check our [documentation for installation and basic configuration](https://aplazame.dev/en/docs/plugins/magento2/).

##### Release history

For new features check [this](HISTORY.md).


##### Help

**Have a question about Aplazame?**

For any support request please drop us an email at soporte@aplazame.com

## Changelog

##### [v3.2.1](https://github.com/aplazame/magento2/tree/v3.2.1) (2025-10-06)

* [ADD] Widget country option translation.
* [FIX] HTML escapes.

##### [v3.2.0](https://github.com/aplazame/magento2/tree/v3.2.0) (2025-09-25)

* [ADD] PT widget.
* [ADD] PHP 8.4 compatibility.
* [FIX] CSP restrictions.

##### [v3.1.3](https://github.com/aplazame/magento2/tree/v3.1.3) (2025-03-27)

* [FIX] Deprecated broken event at shipment.

##### [v3.1.2](https://github.com/aplazame/magento2/tree/v3.1.2) (2024-10-14)

* [ADD] Widget loading animation.
* [DEL] Deprecated options.

##### [v3.1.1](https://github.com/aplazame/magento2/tree/v3.1.1) (2024-09-19)

* [ADD] PHP 8.3 compatibility check for marketplace release.

##### [v3.1.0](https://github.com/aplazame/magento2/tree/v3.1.0) (2024-09-12)

* [ADD] Widget v5.

##### [v3.0.1](https://github.com/aplazame/magento2/tree/v3.0.1) (2024-03-06)

* Order confirmation process improved.

##### [v3.0.0](https://github.com/aplazame/magento2/tree/v3.0.0) (2024-02-26)

* [ADD] Checkout v4 as primary version.
* [DEL] Developer options for previous checkout versions.

##### [v2.10.2](https://github.com/aplazame/magento2/tree/v2.10.2) (2024-01-31)

* [FIX] Various settings tweaks.

##### [v2.10.1](https://github.com/aplazame/magento2/tree/v2.10.1) (2023-12-14)

* [FIX] PHP-SDK version.

##### [v2.10.0](https://github.com/aplazame/magento2/tree/v2.10.0) (2023-12-04)

* [ADD] Developer options for checkout v4 API tests.
* [FIX] PHP deprecations (more compatibility with PHP 8.1 and PHP 8.2).
* Update Aplazame's PHP-SDK.

##### [v2.9.1](https://github.com/aplazame/magento2/tree/v2.9.1) (2023-08-14)

* API improvements.

##### [v2.9.0](https://github.com/aplazame/magento2/tree/v2.9.0) (2023-07-25)

* [ADD] Maximum instalment desired option for widgets.

##### [v2.8.0](https://github.com/aplazame/magento2/tree/v2.8.0) (2023-02-16)

* [ADD] Downpayment info option for widgets.

##### [v2.7.0](https://github.com/aplazame/magento2/tree/v2.7.0) (2022-12-14)

* New config menu
* Quote to order ID option at confirm
* Price selector for variable products

##### [v2.6.2](https://github.com/aplazame/magento2/tree/v2.6.2) (2022-06-13)

* [FIX] Deprecations.

##### [v2.6.1](https://github.com/aplazame/magento2/tree/v2.6.1) (2022-06-07)

* [ADD] Fraud check if customer updates cart when payment in process.
* [FIX] Avoid cart expiration issues by refreshing quotes.
* [FIX] Error if no product description.
* Update license.

##### [v2.6.0](https://github.com/aplazame/magento2/tree/v2.6.0) (2021-12-22)

* [ADD] Show/hide alternative widget option.

##### [v2.5.0](https://github.com/aplazame/magento2/tree/v2.5.0) (2021-09-13)

* [ADD] Pay in 4 widget.

##### [v2.4.0](https://github.com/aplazame/magento2/tree/v2.4.0) (2021-05-24)

* [ADD] Alignment options for widget v4.

##### [v2.3.0](https://github.com/aplazame/magento2/tree/v2.3.0) (2021-05-05)

* [ADD] Show/hide border option on product widget v4.

##### [v2.2.0](https://github.com/aplazame/magento2/tree/v2.2.0) (2021-02-24)

* [ADD] New widget (v4).
* [FIX] Minor improvements at script load.

##### [v2.1.0](https://github.com/aplazame/magento2/tree/v2.1.0) (2021-01-27)

* [ADD] Instalments selector for widgets.

##### [v2.0.0](https://github.com/aplazame/magento2/tree/v2.0.0) (2021-01-12)

* [ADD] Blended checkout.

##### [v1.1.2](https://github.com/aplazame/magento2/tree/v1.1.2) (2020-09-17)

* [FIX] Campaigns pagination

##### [v1.1.1](https://github.com/aplazame/magento2/tree/v1.1.1) (2020-03-26)

* [FIX] CSRF validator.

##### [v1.1.0](https://github.com/aplazame/magento2/tree/v1.1.0) (2020-02-18)

* [ADD] Legal notice option to widget setup.

##### [v1.0.4](https://github.com/aplazame/magento2/tree/v1.0.4) (2020-01-14)

* [FIX] Deprecated checks.

##### [v1.0.2](https://github.com/aplazame/magento2/tree/v1.0.2) (2019-12-23)

* [ADD] Update history endpoint.
* [FIX] Various fixes and improvements.

_(Changelog truncated for .md surface. Full history on https://packagento.com/aplazame/magento2.)_

## Recent Versions

| Version | Released |
|---|---|
| 3.2.1 | 2025-10-06 |
| 3.2.0 | 2025-09-25 |
| 3.1.3 | 2025-03-27 |
| 3.1.2 | 2024-10-14 |
| 3.1.1 | 2024-09-19 |
| 3.1.0 | 2024-09-12 |
| 3.0.1 | 2024-03-06 |
| 3.0.0 | 2024-02-26 |
| 2.10.2 | 2024-01-31 |
| 2.10.1 | 2023-12-14 |

Showing 10 of 52 versions. Full release history on https://packagento.com/aplazame/magento2.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| aplazame/aplazame-api-sdk | ^0.3.7 |
| ext-json | * |
| php | >5.5 |

### Require (dev)

| Package | Constraint |
|---|---|
| phpunit/phpunit | ^5.7 |

## Quality

Latest release (3.2.1) 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 | not tested | not tested | – | – |
| 2.4.8 | – | not tested | 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 | 82 | 82 warnings (ruleset: Magento2) — 20 auto-fixable with phpcbf |
| PHPMD | Warning | 24 | 24 rule violations (MissingImport:13, UnusedFormalParameter:6, IfStatementAssignment:2, CyclomaticComplexity:1, NPathComplexity: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 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | 16 | – |
| 2.4.9 | – | – | 16 | 16 |


### 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 | N/A | 0 | no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1 |
| 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=["aplazame/magento2"],
  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

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

