Download the PHP package asciisd/cashier-tap without Composer
On this page you can find all versions of the php package asciisd/cashier-tap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asciisd/cashier-tap
More information about asciisd/cashier-tap
Files in asciisd/cashier-tap
Package cashier-tap
Short Description Asciisd Cashier provides an expressive, fluent interface to Tap's subscription billing services.
License MIT
Homepage https://github.com/asciisd/cashier-tap
Informations about the package cashier-tap
Introduction
Laravel Cashier-tap provides an expressive, fluent interface to Tap's company subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.
Requirements
- PHP 8.3+
- Laravel 11.x, 12.x, or 13.x
ext-intl
Installation
1- Run composer required command:
You can install the bindings via Composer. Run the following command:
2- Run install command:
this command will install ServiceProvider, Configs and views
3- Run publish command:
this command will knet assets
4- Run migration command:
table by run the migrations:
5- Add .env parameters
Using this package
not yet finished, you can use this package as following example:-
add Billable trait to the User model
use pay() method
After finished the payment you will redirect to [/tap/receipt]() you can change that from config file to make your own handler.
Both tap/receipt and tap/webhook must be excluded from CSRF protection. In Laravel 11 and above this is done in
bootstrap/app.php:
AI guidelines
This package ships Laravel Boost AI guidelines plus two agent skills:
| Skill | Use for |
|---|---|
cashier-tap-development |
Using this package: billable models, charges, refunds, invoices, receipts, webhooks |
tap-payments-api |
The underlying Tap REST API: endpoints, request/response fields, statuses, response codes, webhook hashstring verification, sandbox test data |
If your application uses Boost, run php artisan boost:install (or php artisan boost:update --discover) and
they will be picked up automatically.
When working on this repository, the same skills are exposed to Copilot, Claude Code, and Cursor through
.github/skills/, .claude/skills/, and .cursor/skills/, which symlink to resources/boost/skills/.
Edit the files under resources/boost/skills/ only.
Test cards
| Card Number | Expiry Date | PIN | Status |
|---|---|---|---|
| 5111111111111118 | 01/39 | 100 | CAPTURED |
| 8888880000000002 | 05/23 | 100 | NOT CAPTURED |
Contributing
Thank you for considering contributing to Cashier!
License
Laravel Cashier-tap is open-sourced software licensed under the MIT license.
All versions of cashier-tap with dependencies
ext-intl Version *
asciisd/tap-php Version ^2.0
dompdf/dompdf Version ^2.0|^3.0
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
moneyphp/money Version ^4.0