filament-withdrawals

Manage your withdrawals in Filament

Screenshot

Filament Withdrawals

Latest Stable Version License Downloads

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

Withdrawal Methods Withdrawal Methods Fields Withdrawal Methods Requests Withdrawal Requests Withdrawal Requests View Withdrawal Requests Edit

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"

Support

you can join our discord server to get support TomatoPHP

Docs

you can check docs of this package on Docs

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more information about security.

Credits

License

The MIT License (MIT). Please see License File for more information.

شارك على الشبكات الاجتماعية