PHPackages                             tomatophp/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. tomatophp/filament-wallet

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

tomatophp/filament-wallet
=========================

Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder

4.0.0(8mo ago)3731.2k↑25.8%10[1 issues](https://github.com/tomatophp/filament-wallet/issues)[3 PRs](https://github.com/tomatophp/filament-wallet/pulls)2MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Apr 18Pushed 1w ago1 watchersCompare

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

READMEChangelog (9)Dependencies (15)Versions (14)Used By (2)

[![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

55

—

FairBetter than 97% of packages

Maintenance80

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 71% 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 ~67 days

Recently: every ~97 days

Total

9

Last Release

269d ago

Major Versions

v1.0.7 → 4.0.02025-10-08

PHP version history (2 changes)v1.0.0PHP ^8.1|^8.2

4.0.0PHP ^8.2|^8.3|^8.4

### 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 (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)")[![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

filament-pluginfilamentphptranslationwalletphplaraveltemplate

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[tomatophp/filament-subscriptions

Manage subscriptions and feature access with customizable plans in FilamentPHP

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

Manage your modules as a plugin system with plugin generator

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

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

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

PHPackages © 2026

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