PHPackages                             imnpc/filament-wallet - 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. [Templating &amp; Views](/categories/templating)
4. /
5. imnpc/filament-wallet

ActiveLibrary[Templating &amp; Views](/categories/templating)

imnpc/filament-wallet
=====================

Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder

5.0.0(2mo ago)015↓100%MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Aug 7Pushed 2mo agoCompare

[ Source](https://github.com/imnpc/filament-wallet)[ Packagist](https://packagist.org/packages/imnpc/filament-wallet)[ GitHub Sponsors](https://github.com/fadymondy)[ RSS](/packages/imnpc-filament-wallet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (15)Versions (6)Used By (0)

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

Filament Wallet
===============

[](#filament-wallet)

[![Latest Stable Version](https://camo.githubusercontent.com/540da392bf2b9dd2064207d6d8f52006127fbb0a87d3a15089abd6ebd12b8de8/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d77616c6c65742f76657273696f6e2e737667)](https://packagist.org/packages/tomatophp/filament-wallet)[![License](https://camo.githubusercontent.com/c08ff699c31c7ef95a1403e1afd90fbd4322d3d059b2a480662027679d84f416/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d77616c6c65742f6c6963656e73652e737667)](https://packagist.org/packages/tomatophp/filament-wallet)[![Downloads](https://camo.githubusercontent.com/2e7c7bec5d1ebdbfc7bd7dafa01c720567216db3a38a8ffed08a0961ed266bb9/68747470733a2f2f706f7365722e707567782e6f72672f746f6d61746f7068702f66696c616d656e742d77616c6c65742f642f746f74616c2e737667)](https://packagist.org/packages/tomatophp/filament-wallet)[![Dependabot Updates](https://github.com/tomatophp/filament-wallet/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/tomatophp/filament-wallet/actions/workflows/dependabot/dependabot-updates)[![PHP Code Styling](https://github.com/tomatophp/filament-wallet/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/tomatophp/filament-wallet/actions/workflows/fix-php-code-styling.yml)[![Tests](https://github.com/tomatophp/filament-wallet/actions/workflows/tests.yml/badge.svg)](https://github.com/tomatophp/filament-wallet/actions/workflows/tests.yml)

Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder

you can get more details about how to use this package in [Bavix Wallet](https://github.com/bavix/laravel-wallet)

Screenshots
===========

[](#screenshots)

[![Account Wallet](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/account-wallet.png)](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/account-wallet.png)[![Charge A Wallet](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/charge-wallet.png)](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/charge-wallet.png)[![Wallets List](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/wallet.png)](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/wallet.png)[![Transactions List](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/transactions.png)](https://raw.githubusercontent.com/tomatophp/filament-wallet/master/arts/transactions.png)

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

[](#installation)

```
composer require tomatophp/filament-wallet
```

after installing your package, please run this command

```
php artisan filament-wallet:install
```

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

```
->plugin(\TomatoPHP\FilamentWallet\FilamentWalletPlugin::make())
```

Usage
-----

[](#usage)

to add a wallet to your user model on your model add this trait

```
namespace  App\Models;

use Bavix\Wallet\Interfaces\Wallet;
use Bavix\Wallet\Traits\HasWalletFloat;

class Account extends Model implements Wallet
{
    use HasWalletFloat;
}
```

now your model is having a wallet on your resource add this action to your table

```
use TomatoPHP\FilamentWallet\Filament\Actions\WalletAction;

public function table(Table $table): void
{
    $table->actions([
        WalletAction::make('wallet'),
    ]);
}
```

now yo can charge the wallet of the user by clicking on the wallet action

Integration With Filament Accounts
----------------------------------

[](#integration-with-filament-accounts)

first you need to install Filament Account Builder

```
composer require tomatophp/filament-account
```

then you need to publish the model file

```
php artisan vendor:publish --tag="filament-accounts-model"
```

then you can use this model in your project and attach this traits to your model

```
namespace  App\Models;

use Bavix\Wallet\Interfaces\Wallet;
use Bavix\Wallet\Traits\HasWalletFloat;

class Account extends Model implements Wallet
{
    use HasWalletFloat;
}
```

now your accounts have a balance ready.

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

```
->plugin(\TomatoPHP\FilamentWallet\FilamentWalletPlugin::make()->useAccounts())
```

Testing
-------

[](#testing)

if you like to run `PEST` testing just use this command

```
composer test
```

Code Style
----------

[](#code-style)

if you like to fix the code style just use this command

```
composer format
```

PHPStan
-------

[](#phpstan)

if you like to check the code by `PHPStan` just use this command

```
composer analyse
```

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

[](#other-filament-packages)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance83

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~47 days

Total

5

Last Release

87d ago

Major Versions

2.0.3 → 5.0.02026-02-12

PHP version history (2 changes)2.0.0PHP ^8.1|^8.2|^8.3

5.0.0PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f149dfb0fcbc9e73b835450b3b2bd4e1b732e0d2113f519705b22f95913acae?d=identicon)[imnpc](/maintainers/imnpc)

---

Top Contributors

[![fadymondy](https://avatars.githubusercontent.com/u/11937812?v=4)](https://github.com/fadymondy "fadymondy (22 commits)")[![eimkasp](https://avatars.githubusercontent.com/u/1290547?v=4)](https://github.com/eimkasp "eimkasp (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![imnpc](https://avatars.githubusercontent.com/u/5801647?v=4)](https://github.com/imnpc "imnpc (2 commits)")[![megoxv](https://avatars.githubusercontent.com/u/87904671?v=4)](https://github.com/megoxv "megoxv (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

phplaraveltemplate

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/imnpc-filament-wallet/health.svg)

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

###  Alternatives

[tomatophp/filament-wallet

Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder

3528.5k2](/packages/tomatophp-filament-wallet)[tomatophp/filament-subscriptions

Manage subscriptions and feature access with customizable plans in FilamentPHP

628.1k](/packages/tomatophp-filament-subscriptions)[tomatophp/filament-plugins

Manage your modules as a plugin system with plugin generator

644.7k2](/packages/tomatophp-filament-plugins)[tomatophp/filament-docs

Manage your documents and contracts all in one place with template builder

422.6k](/packages/tomatophp-filament-docs)

PHPackages © 2026

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