Console Helpers
Accounts Builder
Alerts Sender
Resource API Generator
Artisan Command Runner
Blog Template
Bookmarks Menu
File Browser
CMS Builder
Developer Gate
Discord Notifications Integration
Documents Editor
E-Commerce Builder
Firebase Notifications Integration
Helper Classes Generator
Icons Picker & Provider
Invoices Manager
GitHub Issues Manager
Language Switcher
Locations Seeder
User Logger
Media Manager
Menu Generator
Sticky Notes
Payment Manager
Plugins Manager & Generator
Point of Sale
Progressive Web App Integration
SEO Manager
Settings Hub
Simple Theme
Social Media Manager
Subscriptions
Tenancy Multi-database
Translation Component
Translations Manager
Google Translations
Translations GPT
Twilio Whatsapp Notifications Integrations
Types Manager
User Manager
Wallets Manager
Wallet Withdrawals
Laravel Package Generator
Filament Withdrawals
Manage your withdrawals in Filament
Installation
composer require tomatophp/filament-withdrawals
after install your package please run this command
php artisan filament-withdrawals:install
finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php
->plugin(\TomatoPHP\FilamentWithdrawals\FilamentWithdrawalsPlugin::make())
Screenshots
Add Form Field Type
you can add more fields to the form builder by use this method on your provider.
use TomatoPHP\FilamentWithdrawals\Services\FilamentWithdrawalFormFields;
use TomatoPHP\FilamentWithdrawals\Services\Contracts\WithdrawalFormFieldType;
FilamentWithdrawalFormFields::register([
WithdrawalFormFieldType::make('code')
->className(CodeEditor::class)
->color('warning')
->icon('heroicon-s-code-bracket-square')
->label('Code Editor'),
]);
Use Your Form Builder
after create your form you can use it by id
like this
use TomatoPHP\FilamentWithdrawals\Services\FilamentWithdrawalFormBuilder;
FilamentWithdrawalFormBuilder::make(1)->build()
Use Form Requests to Submit your form data
you can use form requests to submit your form data by use this method on your provider.
use TomatoPHP\FilamentWithdrawals\Services\FilamentWithdrawalFormBuilder;
FilamentWithdrawalFormBuilder::make(1)->send($data)
Publish Assets
you can publish languages file by use this command
php artisan vendor:publish --tag="filament-withdrawals-lang"
you can publish migrations file by use this command
php artisan vendor:publish --tag="filament-withdrawals-migrations"
Other Filament Packages
Checkout our Awesome TomatoPHP