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(3mo ago)011MITPHPPHP ^8.4

Since Mar 21Pushed 1mo agoCompare

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

READMEChangelogDependencies (48)Versions (35)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 13+
- 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

43

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~2 days

Total

34

Last Release

30d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1634949?v=4)[Saiffil Fariz](/maintainers/sairiz)[@sairiz](https://github.com/sairiz)

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### 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

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k156.8M1.2k](/packages/symfony-web-profiler-bundle)[symfony/debug-bundle

Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework

2.4k121.7M976](/packages/symfony-debug-bundle)

PHPackages © 2026

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