PHPackages                             rapidez/magento2-compadre - 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. rapidez/magento2-compadre

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rapidez/magento2-compadre
=========================

Some Magento code to improve the Rapidez experience

1.2.3(2d ago)03.8k31PHPPHP ^8.0.2|^8.1CI passing

Since Jan 8Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/rapidez/magento2-compadre)[ Packagist](https://packagist.org/packages/rapidez/magento2-compadre)[ Docs](https://rapidez.io)[ RSS](/packages/rapidez-magento2-compadre/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (36)Versions (16)Used By (1)

Magento Rapidez Compadre
========================

[](#magento-rapidez-compadre)

This **Magento Module** will allow Rapidez to support more functionalities.

Current functionality
---------------------

[](#current-functionality)

### ProductStockItem

[](#productstockitem)

The ProductStockItem type is added to the ProductInterface in the GraphQL definition. Allowing you to retrieve the stock information of the product:

```
    product {
        id,
        sku,
        name,
        type_id,
        url_key,
        url_suffix,
+       stock_item {
+           max_sale_qty
+           min_sale_qty
+           qty_increments
+           in_stock
+      }
    }
```

### Sales rule labels

[](#sales-rule-labels)

The SalesRuleLabel type is added to the CartItemInterface in the GraphQL definition. Allowing you to retrieve the sales rule labels that are applied to a quote item:

```
    items {
        id
        quantity
+       sales_rule_labels {
+           name
+           description
+           store_label
+           discount_amount
+           from_date
+           to_date
+       }
    }
```

### Login as Customer

[](#login-as-customer)

When enabled and [rapidez/login-as-customer](https://github.com/rapidez/login-as-customer) is installed the admin "Log In As Customer" button will work with Rapidez as well.

### Other

[](#other)

And it extends Magento functionality in order to facilitate file upload product options via GraphQL

Installation
------------

[](#installation)

In your Magento installation run

```
composer require rapidez/magento2-compadre
bin/magento module:enable Rapidez_Compadre
```

Configuration
-------------

[](#configuration)

Configuration options are available under `Stores > Configuration > Rapidez > Config`

Here you can configure what extra fields should be exposed in the GraphQL ProductStockItem, fields not exposed will be `null`.

Release instructions
--------------------

[](#release-instructions)

If GraphQL changes have been made src/etc/module.xml must be updated with the new release version number. This way we can easily detect which fields should be available in GraphQL for use. As Introspection is disabled outside developer mode.

License
-------

[](#license)

GNU General Public License v3. Please see [License File](LICENSE) for more information.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance92

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Every ~64 days

Recently: every ~82 days

Total

15

Last Release

2d ago

Major Versions

0.1.1 → 1.0.02024-09-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72222911?v=4)[Rapidez](/maintainers/rapidez)[@rapidez](https://github.com/rapidez)

---

Top Contributors

[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (11 commits)")[![BobWez98](https://avatars.githubusercontent.com/u/23509926?v=4)](https://github.com/BobWez98 "BobWez98 (6 commits)")[![Jade-GG](https://avatars.githubusercontent.com/u/32514269?v=4)](https://github.com/Jade-GG "Jade-GG (4 commits)")[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (1 commits)")

---

Tags

rapidez

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rapidez-magento2-compadre/health.svg)

```
[![Health](https://phpackages.com/badges/rapidez-magento2-compadre/health.svg)](https://phpackages.com/packages/rapidez-magento2-compadre)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

1310.9k2](/packages/opengento-module-category-import-export)

PHPackages © 2026

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