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.

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 cashier-tap

Latest Version on Packagist Total Downloads [Total Downloads]()

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

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, 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

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

PHP Build Version
Package Version
Requires php Version ^8.3
dompdf/dompdf Version ^2.0
moneyphp/money Version ^4.0
asciisd/tap-php Version ^2.0
ext-intl 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 asciisd/cashier-tap contains the following files

Loading the files please wait ....