filament-wallet
Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder
Extends filament
composer require tomatophp/filament-wallet- filament-plugin
- filamentphp
- translation
- wallet
Readme

Filament Wallet
Account Balance / Wallets Manager For FilamentPHP and Filament Account Builder
you can get more details about how to use this package in Bavix Wallet
Screenshots

Compatibility
| Package | Filament | Laravel | PHP |
|---|---|---|---|
| 5.x | 5.x | 12.x / 13.x | 8.3+ |
| 4.x | 4.x | 11.x / 12.x | 8.2+ |
| 1.x | 3.x | 10.x / 11.x | 8.1+ |
Installation
after installing your package, please run this command
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
Usage
to add a wallet to your user model on your model add this trait
now your model is having a wallet on your resource add this action to your table
now yo can charge the wallet of the user by clicking on the wallet action
Integration With Filament Accounts
first you need to install Filament Account Builder
then you need to publish the model file
then you can use this model in your project and attach this traits to your model
now your accounts have a balance ready.
finally, register the plugin on /app/Providers/Filament/AdminPanelProvider.php
Testing
if you like to run PEST testing just use this command
Code Style
if you like to fix the code style just use this command
PHPStan
if you like to check the code by PHPStan just use this command
Other Filament Packages
Checkout our Awesome TomatoPHP