PHP code example of travoltron / cashier-extras

1. Go to this page and download the library: Download travoltron/cashier-extras library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

travoltron / cashier-extras example snippets

 bash
php artisan cashier:test-data
 bash
php artisan stripe:check-keys
 bash
php artisan stripe:list-plans
 bash
php artisan stripe:make-plan
 bash
php artisan stripe:delete-plan {id}
 bash
php artisan stripe:list-coupons
 bash
php artisan stripe:make-coupon
 bash
php artisan stripe:delete-coupon {id}