PHP Classes
elePHPant
Icontem

Phalcon Cashier: Access subscription services provided by Stripe

Recommend this page to a friend!
  Info   View files Example   View files View files (43)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-08-29 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 80 This week: 2All time: 8,535 This week: 591Up
Version License PHP version Categories
phalcon-cashier 1.0MIT/X Consortium ...5PHP 5, E-Commerce, Web services, Traits
Description Author

This package can access subscription services provided by Stripe.

It accesses the Stripe API to provide basic subscription management, handle coupons, swapping subscription, update subscription "quantities", cancellation grace periods, and generate invoice in PDF format.

Innovation Award
PHP Programming Innovation award nominee
June 2016
Number 12
Stripe is a well known Internet based payment system that can handle single or recurring payments.

This package can perform several types of operations to manage recurring payments using the Stripe API.

Manuel Lemos
Picture of Thien Tran
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

Details

Build Status and Join chats us:

Build Status Slack

Introduction

Phalcon Cashier provides an expressive, fluent interface to Stripe's 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.

Test Setup

You will need to set the following details locally and on your Stripe account in order to test:

Local

Add some parameter in config.php such as like below

'stripe' => [
    'model'      => 'App\Models\Users',
    'secretKey'  => null,
    'publishKey' => null
]

Stripe

Plans

* monthly-10-1 ($10)
* monthly-10-2 ($10)

Coupons

* coupon-1 ($5)

Official Documentation

You can how to using it at here. Also it is inspiring by Laravel so you can take look on the Laravel website.

Contributing

Thank you for considering contributing to the Cashier. You can read the contribution guide lines here.

License

Phalcon Cashier is open-sourced software licensed under the MIT license

  Files folder image Files  
File Role Description
Files folder imagesrc (7 files)
Files folder imagetests (7 files, 7 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file changes.md Data Auxiliary data
Accessible without login Plain text file codeception.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file contributing.md Data Auxiliary data
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file readme.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:80
This week:2
All time:8,535
This week:591Up