Download the PHP package tomatophp/filament-withdrawals without Composer

On this page you can find all versions of the php package tomatophp/filament-withdrawals. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-withdrawals

Screenshot

Filament Withdrawals

Latest Stable Version License Downloads Tests

Manage wallet withdrawals in FilamentPHP: withdrawal methods with their own dynamic request forms, and a withdrawal requests inbox to process, complete (withdraw from the wallet) or cancel requests.

Screenshots

Withdrawal Methods Withdrawal Methods Dark Withdrawal Method Fields Withdrawal Method Fields Dark Withdrawal Requests Withdrawal Requests Dark Withdrawal Request Withdrawal Request Dark

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+

Requirements

Withdrawals are paid out of Filament Wallet balances, so the model that requests a withdrawal (your User, or an Account when you use Filament Accounts) needs a wallet:

Installation

after install your package please run this command (it runs the pending wallet and withdrawals migrations)

if your app does not have the Spatie media library media table yet, publish and run its migration first

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

you will usually register the wallet plugin too, to see the balances and transactions

Config

Relation Fields (allowlist)

A select field of a withdrawal method can load its options from a model ("Is Relation" in the field editor). For security, only the models (or relationship names) and columns listed in config/filament-withdrawals.php can be used:

Upgrading from 5.0.0: if your withdrawal methods use relation fields, add their model and column to relations, otherwise those fields show no options.

Add Form Field Type

you can add more fields to the form builder by use this method on your provider. Registering a type with an existing name replaces it.

Use Your Form Builder

after create your withdrawal method you can use its form by id like this

Submit a Withdrawal Request

the request is created for the signed-in user after checking the method limits, the wallet balance and that no other request is pending.

Publish Assets

you can publish languages file by use this command

you can publish migrations file by use this command

Testing

Other Filament Packages

Checkout our Awesome TomatoPHP


All versions of filament-withdrawals with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tomatophp/filament-withdrawals contains the following files

Loading the files please wait ...