PHPackages                             asciisd/cashier-tap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. asciisd/cashier-tap

ActiveLibrary[Payment Processing](/categories/payments)

asciisd/cashier-tap
===================

Asciisd Cashier provides an expressive, fluent interface to Tap's subscription billing services.

v3.0.2(1y ago)11801[1 issues](https://github.com/asciisd/cashier-tap/issues)MITBladePHP ^8.3CI failing

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/asciisd/cashier-tap)[ Packagist](https://packagist.org/packages/asciisd/cashier-tap)[ Docs](https://github.com/asciisd/cashier-tap)[ RSS](/packages/asciisd-cashier-tap/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (29)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f2790e5a0551e92c60c0baf2cadc854160c55fed3b5fe3edd233c0700a68bb02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617363696973642f636173686965722d7461702e7376673f7374796c653d666c6174)](https://packagist.org/packages/asciisd/cashier-tap)[![Software License](https://camo.githubusercontent.com/7c157c367c5807bd5d4c9319973f262ed177bca7e14e1bf555704f1c9f0073b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f617363696973642f636173686965722d7461703f7374796c653d666c6174)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/7ca72710ce34813b56d510f8bffbfc6978c5ac87ea5a78a2ac56b18450bbabd1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617363696973642f636173686965722d7461702e7376673f7374796c653d666c6174)](https://packagist.org/packages/asciisd/cashier-tap)![Total Downloads](https://camo.githubusercontent.com/f7ea255d8407023bb832b36b0c7013962a040f9ace3d164b94dc1ba18dab7977/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f617363696973642f636173686965722d7461703f7374796c653d666c6174)

Introduction
============

[](#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.

Installation
------------

[](#installation)

#### 1- Run composer required command:

[](#1--run-composer-required-command)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require asciisd/cashier-tap
```

#### 2- Run install command:

[](#2--run-install-command)

this command will install `ServiceProvider`, `Configs` and `views`

```
php artisan cashier:install
```

#### 3- Run publish command:

[](#3--run-publish-command)

this command will knet assets

```
php artisan cashier:publish
```

#### 4- Run migration command:

[](#4--run-migration-command)

table by run the migrations:

```
php artisan migrate
```

#### 5- Add `.env` parameters

[](#5--add-env-parameters)

```
TAP_API_KEY=
TAP_WEBHOOK_SECRET= //use this key if you want tap to post the result back to your application
```

Using this package
------------------

[](#using-this-package)

`not yet finished, you can use this package as following example:-`

add `Billable` trait to the User model

```
namespace App;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Asciisd\Cashier\Billable;

class User extends Authenticatable {
   use Billable;
}
```

`use pay() method`

```
try{
    //allowed payment methods is ['src_kw.knet', 'src_all', 'src_card']
    $payment_method = 'src_card';
    $payment = $user->charge(10, $payment_method);

    $payment->url; // this will return payment link
} catch(\Asciisd\Cashier\Exceptions\PaymentActionRequired $exception) {
    $payment = $exception->payment;
}

return $payment->actionUrl();
```

> After finished the payment you will redirect to /tap/receiptyou can change that from config file to make your own handler, so please make sure to add this directory to the VerifyCsrfToken $except also if you want to use webhook you should add tap/webhook also to the VerifyCsrfToken $except method

Test cards
----------

[](#test-cards)

Card NumberExpiry DatePINStatus511111111111111801/39100CAPTURED888888000000000205/23100NOT CAPTUREDContributing
------------

[](#contributing)

Thank you for considering contributing to Cashier!

License
-------

[](#license)

Laravel Cashier-tap is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance23

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~66 days

Recently: every ~56 days

Total

28

Last Release

449d ago

Major Versions

v0.0.2 → v1.0.02020-04-12

v1.6.0 → v2.0.02023-04-15

v2.1.1 → v3.0.02024-11-12

PHP version history (7 changes)v0.0.1PHP ^7.2

v1.2.0PHP ^7.3

v1.3.1PHP ^7.3|^8.0

v1.4.0PHP ^7.4|^8.0

v2.0.0PHP ^8.1|^8.2

v2.0.1PHP ^8.2

v3.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77636067?v=4)[ASCII SD](/maintainers/asciisd)[@asciisd](https://github.com/asciisd)

---

Top Contributors

[![aemaddin](https://avatars.githubusercontent.com/u/11630742?v=4)](https://github.com/aemaddin "aemaddin (51 commits)")

---

Tags

cashier-taplaravellaravel-cashiertaplaravelcashiertapCashier Tap

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/asciisd-cashier-tap/health.svg)

```
[![Health](https://phpackages.com/badges/asciisd-cashier-tap/health.svg)](https://phpackages.com/packages/asciisd-cashier-tap)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
