PHPackages                             kodano/module-promotions - 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. [Admin Panels](/categories/admin)
4. /
5. kodano/module-promotions

ActiveMagento2-module[Admin Panels](/categories/admin)

kodano/module-promotions
========================

A Magento 2 module for managing promotions.

1.0.1(1y ago)02MITPHPPHP &gt;=8.1

Since Sep 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AlexTs556/magento2-promotions)[ Packagist](https://packagist.org/packages/kodano/module-promotions)[ RSS](/packages/kodano-module-promotions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Magento 2 Promotions Module
===========================

[](#magento-2-promotions-module)

Overview
--------

[](#overview)

The **Promotions** module for Magento 2 provides functionality to manage promotions and their associated groups. This module allows you to interact with promotions and promotion groups via a REST API, offering operations for listing, adding, and deleting data. The API responses are in JSON format, and it integrates with Magento's default Swagger for API documentation and testing.

Features
--------

[](#features)

- **Manage Promotions**: Create, list, and delete promotions.
- **Manage Promotion Groups**: Create, list, and delete promotion groups.
- **Associations**: Link multiple promotions to multiple groups.
- **REST API**: Access and manage promotions and promotion groups through RESTful endpoints.
- **Swagger Integration**: Test and interact with the API via Magento's default Swagger documentation.

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

[](#installation)

### 1. Install via `app/code` Directory

[](#1-install-via-appcode-directory)

1. Clone the repository:

    ```
    git clone https://github.com/AlexTs556/magento2-promotions.git
    ```
2. Copy the module to your Magento installation:

    ```
    cp -R magento2-promotions/ /app/code/Kodano/Promotions/
    ```
3. Enable the module:

    ```
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    ```

### 2. Install via Composer

[](#2-install-via-composer)

1. Add the repository to your `composer.json`:

    ```
    composer require kodano/module-promotions
    ```
2. Enable the module:

    ```
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    ```

Usage
-----

[](#usage)

Once installed, you can access the promotions API through Magento's Swagger UI. The API endpoints available are:

- **List Promotions**: `GET /V1/promotions`
- **Add Promotion**: `POST /V1/promotions`
- **Delete Promotion**: `DELETE /V1/promotions/:promotionId`
- **List Promotion Groups**: `GET /V1/promotion-groups`
- **Add Promotion Group**: `POST /V1/promotion-groups`
- **Delete Promotion Group**: `DELETE /V1/promotion-groups/:groupId`

You can test and interact with these endpoints using the Swagger UI, accessible at `/swagger` in your Magento admin panel.

API Documentation
-----------------

[](#api-documentation)

API documentation is available through Magento's default Swagger interface. Navigate to `/swagger` in your Magento admin panel to view and test the available endpoints.

Support
-------

[](#support)

If you encounter any issues or need support, please open an issue on the [GitHub repository](https://github.com/AlexTs556/magento2-promotions/issues).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09d46f5fa4756c1bad341b3751495b628b50371b25a1bc3bf1bf2da59a8a26f8?d=identicon)[Alexts](/maintainers/Alexts)

---

Top Contributors

[![AlexTs556](https://avatars.githubusercontent.com/u/178156323?v=4)](https://github.com/AlexTs556 "AlexTs556 (4 commits)")

### Embed Badge

![Health badge](/badges/kodano-module-promotions/health.svg)

```
[![Health](https://phpackages.com/badges/kodano-module-promotions/health.svg)](https://phpackages.com/packages/kodano-module-promotions)
```

###  Alternatives

[kiwicommerce/module-cron-scheduler

Easily set up and manage cron jobs from the backend with a beautiful and managed timeline feature. Find the actual load on CPU/Memory by cron job execution.

74603.3k](/packages/kiwicommerce-module-cron-scheduler)[mage-os/theme-adminhtml-m137

M137 Admin Theme

35116.7k](/packages/mage-os-theme-adminhtml-m137)[markshust/magento2-module-ordergrid

The Order Grid module adds more details to the order grid in the admin.

9181.2k](/packages/markshust-magento2-module-ordergrid)[smile/module-seller

Smile Retailer Suite - Seller Module

13528.3k3](/packages/smile-module-seller)[kiwicommerce/module-customer-password

Magento 2 - Customer Password

1356.3k](/packages/kiwicommerce-module-customer-password)[magevision/module-admin-category-product-thumbnail

Admin Category Product Thumbnail Extension for Magento 2

115.2k](/packages/magevision-module-admin-category-product-thumbnail)

PHPackages © 2026

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