PHPackages                             tomatophp/filament-payments - 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. [Payment Processing](/categories/payments)
4. /
5. tomatophp/filament-payments

ActiveLibrary[Payment Processing](/categories/payments)

tomatophp/filament-payments
===========================

Manage your payments inside FilamentPHP app with multi payment gateway integration

v1.0.20(1y ago)542.3k10[1 PRs](https://github.com/tomatophp/filament-payments/pulls)MITPHPPHP ^8.1

Since Aug 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/tomatophp/filament-payments)[ Packagist](https://packagist.org/packages/tomatophp/filament-payments)[ GitHub Sponsors](https://github.com/3x1io)[ RSS](/packages/tomatophp-filament-payments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (22)Used By (0)

[![Screenshot](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/3x1io-tomato-payments.jpg)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/3x1io-tomato-payments.jpg)

Filament Payment Manager
========================

[](#filament-payment-manager)

[![Latest Stable Version](https://camo.githubusercontent.com/cd37c35871e2edb3127e92416709983357de51966e11395aedbe16256d606b68/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7061796d656e74732f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-payments)[![License](https://camo.githubusercontent.com/2f6b34a14df062b42b419f1917e9d9f2d97294e2b8fa40fbf6a5c40ec7386254/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7061796d656e74732f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-payments)[![Downloads](https://camo.githubusercontent.com/f8a18872025c6d6ba5445ec2e60b8b89c5ac7a64d33177ff9d83d3516d988403/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d7061796d656e74732f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-payments)

Manage your payments inside FilamentPHP app with multi payment gateway integration

Screenshots
-----------

[](#screenshots)

[![Payment Page](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-page.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-page.png)[![Payments](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payments.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payments.png)[![View Payment](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/view.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/view.png)[![Payment Gates](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-gates.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-gates.png)[![Edit Gate](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/edit-gate.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/edit-gate.png)[![Gate Option](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/gate-option.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/gate-option.png)[![Payment Action](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-action.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/payment-action.png)[![Payment Action Confirm](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/action-confirm.png)](https://raw.githubusercontent.com/tomatophp/filament-payments/master/arts/action-confirm.png)

Features
--------

[](#features)

- Payments List
- Payment View
- Payment Filter And Groups by Status
- Payment Gates
- Payment Gate Options
- Payment Action
- Payment Facade Method
- Payment Page
- Payment Drivers
- StripeV3 Integration
- Plisio Integration
- Paypal Integration
- Paymob Integration
- Tap Integration
- Myfatoorah Integration
- Creptomus Integration
- Paddle Integration
- Lemon Squeezy Integration
- Binance Integration
- PayTabs Integration
- Moyaser Integration
- Payfort Integration
- Fawery Integration

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

[](#installation)

```
composer require tomatophp/filament-payments
```

we need the Media Library plugin to be installed and migrated you can use this command to publish the migration

```
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
```

after install your package please run this command

```
php artisan filament-payments:install
```

finally register the plugin on `/app/Providers/Filament/AdminPanelProvider.php`

```
->plugin(\TomatoPHP\FilamentPayments\FilamentPaymentsPlugin::make())
```

Using
-----

[](#using)

you can use payment with the very easy way just use Facade `FilamentPayments` like this

```
use TomatoPHP\FilamentPayments\Facades\FilamentPayments;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentBillingInfo;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentCustomer;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentRequest;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentShippingInfo;
use TomatoPHP\FilamentSubscriptions\Facades\FilamentSubscriptions;

return redirect()->to(
        FilamentPayments::pay(
            data: PaymentRequest::make(Plan::class)
                ->model_id($data['new']->id)
                ->currency('USD')
                ->amount($data['new']->price)
                ->details('Subscription Payment')
                ->success_url(url('/success'))
                ->cancel_url(url('/cancel'))
                ->customer(
                    PaymentCustomer::make('John Doe')
                        ->email('john@gmail.com')
                        ->mobile('+201207860084')
                )
                ->billing_info(
                    PaymentBillingInfo::make('123 Main St')
                        ->area('Downtown')
                        ->city('Cairo')
                        ->state('Cairo')
                        ->postcode('12345')
                        ->country('EG')
                )
                ->shipping_info(
                    PaymentShippingInfo::make('123 Main St')
                        ->area('Downtown')
                        ->city('Cairo')
                        ->state('Cairo')
                        ->postcode('12345')
                        ->country('EG'
                        )
                )),
    );
```

if you want to return it as json you can just make `json: true`, this method return a URL for you with the payment, you can share this link with anyone to make the payment done.

Use Payment Action
------------------

[](#use-payment-action)

you can use a Table Action to make it easy to link Payment with your table like this

```
use TomatoPHP\FilamentPayments\Filament\Actions\PaymentAction;

public function table(Table $table): $table
{
    return $table
        ->actions([
             PaymentAction::make('payment')
                ->request(function ($record){
                    return PaymentRequest::make(Order::class)
                        ->model_id($record->id)
                        ->currency('USD')
                        ->amount($record->total)
                        ->details($record->ordersItems()->pluck('product_id')->implode(', '))
                        ->success_url(url('/success'))
                        ->cancel_url(url('/cancel'))
                        ->customer(
                            PaymentCustomer::make($record->name)
                                ->email($record->account->email)
                                ->mobile($record->phone)
                        )
                        ->billing_info(
                            PaymentBillingInfo::make($record->address)
                                ->area($record->area->name)
                                ->city($record->city->name)
                                ->state($record->city->name)
                                ->postcode('12345')
                                ->country($record->country->iso3)
                        )
                        ->shipping_info(
                            PaymentShippingInfo::make($record->address)
                                ->area($record->area->name)
                                ->city($record->city->name)
                                ->state($record->city->name)
                                ->postcode('12345')
                                ->country($record->country->iso3)
                        );
                })
                ->pay(),
        ]);
}
```

Integrate With Filament Subscription
------------------------------------

[](#integrate-with-filament-subscription)

if you like to use this package with [Filament Subscription](https://www.github.com/tomatophp/filament-subscriptions) you can use this code

```
use TomatoPHP\FilamentPayments\Facades\FilamentPayments;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentBillingInfo;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentCustomer;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentRequest;
use TomatoPHP\FilamentPayments\Services\Contracts\PaymentShippingInfo;
use TomatoPHP\FilamentSubscriptions\Facades\FilamentSubscriptions;

public function boot(): void
    {
        FilamentSubscriptions::afterSubscription(function ($data) {
            //Payment Here
            return redirect()->to(FilamentPayments::pay(
                data: PaymentRequest::make(Plan::class)
                    ->model_id($data['new']->id)
                    ->currency('USD')
                    ->amount($data['new']->price)
                    ->details('Subscription Payment')
                    ->success_url(url('/success'))
                    ->cancel_url(url('/cancel'))
                    ->customer(
                        PaymentCustomer::make('John Doe')
                            ->email('john@gmail.com')
                            ->mobile('+201207860084')
                    )
                    ->billing_info(
                        PaymentBillingInfo::make('123 Main St')
                            ->area('Downtown')
                            ->city('Cairo')
                            ->state('Cairo')
                            ->postcode('12345')
                            ->country('EG')
                    )
                    ->shipping_info(
                        PaymentShippingInfo::make('123 Main St')
                            ->area('Downtown')
                            ->city('Cairo')
                            ->state('Cairo')
                            ->postcode('12345')
                            ->country('EG')
                    )
            ));
        });
    }
```

it will redirect you to payment after the hook is called.

Publish Assets
--------------

[](#publish-assets)

you can publish config file by use this command

```
php artisan vendor:publish --tag="filament-payments-config"
```

you can publish views file by use this command

```
php artisan vendor:publish --tag="filament-payments-views"
```

you can publish languages file by use this command

```
php artisan vendor:publish --tag="filament-payments-lang"
```

you can publish migrations file by use this command

```
php artisan vendor:publish --tag="filament-payments-migrations"
```

Other Filament Packages
-----------------------

[](#other-filament-packages)

Checkout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance42

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.2% 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 ~8 days

Recently: every ~27 days

Total

21

Last Release

467d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2147eb2fca7ab5f0124d0fafd88ba2d2a5dfa3a0036fb8872d1084b7cba29366?d=identicon)[fadymondy](/maintainers/fadymondy)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (40 commits)")[![megoxv](https://avatars.githubusercontent.com/u/87904671?v=4)](https://github.com/megoxv "megoxv (14 commits)")[![CoconutDev-ops](https://avatars.githubusercontent.com/u/69913629?v=4)](https://github.com/CoconutDev-ops "CoconutDev-ops (2 commits)")[![sharafhusain](https://avatars.githubusercontent.com/u/122986021?v=4)](https://github.com/sharafhusain "sharafhusain (1 commits)")

---

Tags

filament-pluginpayment-gatewpayment-managerpayment-pagepaymentspayments-integrationphplaravelstripepaymentspaypalfilamenttomatophpplisiocacherpayment-gate

### Embed Badge

![Health badge](/badges/tomatophp-filament-payments/health.svg)

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

###  Alternatives

[tomatophp/filament-invoices

Generate and manage your invoices / payments using multi currencies and multi types in FilamentPHP

993.9k](/packages/tomatophp-filament-invoices)[tomatophp/filament-settings-hub

Manage your Filament app settings with GUI and helpers

5746.1k9](/packages/tomatophp-filament-settings-hub)[tomatophp/filament-cms

Full CMS System with support of importing integrations and multi meta functions

11410.4k4](/packages/tomatophp-filament-cms)[tomatophp/filament-pwa

get a PWA feature on your FilamentPHP app with settings from panel

8115.8k](/packages/tomatophp-filament-pwa)[tomatophp/filament-alerts

Send notification to users using notification templates and multi notification channels, it's support Filament Native Notification Service with macro, and a full integration to FCM service worker notifications

7910.8k3](/packages/tomatophp-filament-alerts)[andreia/filament-stripe-payment-link

Filament action to generate a Stripe payment link

141.9k](/packages/andreia-filament-stripe-payment-link)

PHPackages © 2026

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