PHPackages                             aiarmada/filament-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. aiarmada/filament-promotions

ActiveLibrary[Admin Panels](/categories/admin)

aiarmada/filament-promotions
============================

A Filament v5 plugin for administering promotions provided by the AIArmada promotions package

v1.0.0(2mo ago)00MITPHP

Since Mar 8Pushed 1mo agoCompare

[ Source](https://github.com/AIArmada/filament-promotions)[ Packagist](https://packagist.org/packages/aiarmada/filament-promotions)[ Docs](https://github.com/aiarmada/commerce)[ RSS](/packages/aiarmada-filament-promotions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Filament Promotions
===================

[](#filament-promotions)

A Filament v5 plugin for managing promotional discounts in your admin panel.

Features
--------

[](#features)

- **Full CRUD** — Create, view, edit, and delete promotions
- **Rich Table** — Sortable, filterable promotion list with badges
- **Promotion Types** — Percentage, fixed amount, and Buy X Get Y
- **Usage Tracking** — Monitor promotion usage statistics
- **Owner Scoping** — Multi-tenant support out of the box
- **Stats Widget** — Dashboard overview of promotion metrics

Requirements
------------

[](#requirements)

- PHP 8.4+
- Laravel 12+
- Filament 5.0+
- aiarmada/promotions package

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

[](#installation)

```
composer require aiarmada/filament-promotions
```

Register the plugin in your Filament panel:

```
use AIArmada\FilamentPromotions\FilamentPromotionsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentPromotionsPlugin::make(),
        ]);
}
```

Optionally publish the config:

```
php artisan vendor:publish --tag=filament-promotions-config
```

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

[](#configuration)

```
// config/filament-promotions.php
return [
    'navigation_group' => 'Marketing',

    'resources' => [
        'navigation_sort' => [
            'promotions' => 10,
        ],
    ],

    'tables' => [
        'poll' => null,
    ],

    'features' => [
        'widgets' => true,
    ],
];
```

Usage
-----

[](#usage)

### Managing Promotions

[](#managing-promotions)

The plugin provides a `PromotionResource` with:

- **List View** — Table with search, filters, and bulk actions
- **Create View** — Form to create new promotions
- **Edit View** — Update existing promotions
- **View View** — Detailed promotion information

### Promotion Types

[](#promotion-types)

The Filament-aware `PromotionType` enum includes:

TypeLabelIconColor`Percentage`Percentage Offreceipt-percentsuccess`Fixed`Fixed Amountcurrency-dollarinfo`BuyXGetY`Buy X Get Ygiftwarning### Stats Widget

[](#stats-widget)

Add the stats widget to your dashboard:

```
use AIArmada\FilamentPromotions\Widgets\PromotionStatsWidget;

public function panel(Panel $panel): Panel
{
    return $panel
        ->widgets([
            PromotionStatsWidget::class,
        ]);
}
```

Multi-tenancy
-------------

[](#multi-tenancy)

The resource respects owner scoping from the promotions package. Configure in `config/promotions.php`:

```
'features' => [
    'owner' => [
        'enabled' => true,
        'include_global' => true,
    ],
],
```

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance89

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

Unknown

Total

1

Last Release

65d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/726da4efcb731bc0ebcdd0b7ce64759e1f8dd63f6f771eab335458f6a2f2d3af?d=identicon)[sairiz](/maintainers/sairiz)

### Embed Badge

![Health badge](/badges/aiarmada-filament-promotions/health.svg)

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

###  Alternatives

[filament/spatie-laravel-settings-plugin

Filament support for `spatie/laravel-settings`.

1092.4M73](/packages/filament-spatie-laravel-settings-plugin)[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[ralphjsmit/laravel-filament-seo

A package to combine the power of Laravel SEO and Filament Admin.

15398.7k10](/packages/ralphjsmit-laravel-filament-seo)[geo-sot/filament-env-editor

Access .env file though Filament admin panel

2432.3k1](/packages/geo-sot-filament-env-editor)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)

PHPackages © 2026

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