moloni / magento2

moloni/magento2

Module for Magento 2 by Moloni

  • Moloni, lda
magento2-module Compatibility: 2.4.7 Code Quality: Fail Tests: N/A Security: Pass GPL-3.0

Are you the maintainer of moloni?

Packagento pulls moloni's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Moloni extension for Magento 2 - BETA

Tired of manually processing your invoices?
With this extension you will be able to:

  • Create your invoices automatically
  • Send your invoices directly to customers
  • Give them a place where they can see and download their documents
  • Sync your products between Moloni and your online store

Install Guide Using Composer

Install the extension via composer

composer require moloni/magento2

Verify if the extension is installed

bin/magento module:status

Enable the extension

bin/magento module:enable Invoicing_Moloni --clear-static-content

Register the extension

bin/magento setup:upgrade

Recompile Magento project

bin/magento setup:di:compile

Clean cache

bin/magento cache:clean

Update Guide

If you want to update the extension you should run the following

Update the composer package

composer update moloni/magento2

Upgrade, deploy and clean cache

php bin/magento setup:upgrade --keep-generated
php bin/magento setup:static-content:deploy
php bin/magento cache:clean

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.3.9 stable Fail Magento 2.4.7 Details 2023-07-04 15:29:08
1.3.8 stable Not tested Not yet tested Details 2023-03-24 11:54:43
1.3.7 stable Not tested Not yet tested Details 2022-12-20 12:32:54
1.3.6 stable Not tested Not yet tested Details 2022-08-30 14:36:42
1.3.5 stable Not tested Not yet tested Details 2022-08-29 09:35:58
1.3.4 stable Not tested Not yet tested Details 2022-08-16 11:38:54
1.3.2 stable Not tested Not yet tested Details 2021-07-21 14:14:14
1.3.1 stable Not tested Not yet tested Details 2021-05-05 09:46:39
1.3.0 stable Not tested Not yet tested Details 2021-04-13 09:05:35
1.2.1 stable Not tested Not yet tested Details 2020-09-29 15:40:32
1.2.0 stable Not tested Not yet tested Details 2020-09-21 14:02:42
1.1.2 stable Not tested Not yet tested Details 2019-10-29 15:32:37
1.0.0 stable Not tested Not yet tested Details 2019-01-16 00:49:19

Requires 1

Package Constraint
ext-json *

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Fail di error Fail di error
2.4.9 Fail di error Fail di error

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. 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.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 293 51 errors, 242 warnings (ruleset: Magento2) — 82 auto-fixable with phpcbf
PHPMD Warning 38 38 rule violations (UnusedPrivateMethod:12, CyclomaticComplexity:7, UnusedFormalParameter:6, NPathComplexity:5, ExcessiveClassComplexity:3)
Cpd Warning 4 4 duplicated chunks spanning 422 total lines (min-lines=5, min-tokens=70)
Composer validate Info 2 valid; 2 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 64 64
2.4.8 66 65
2.4.9 65 65

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
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

Integration tests results by Magento and PHP version
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

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
GPL-3.0
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.