Download the PHP package celtyvsk/cashier-connect without Composer

On this page you can find all versions of the php package celtyvsk/cashier-connect. 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-connect

Introduction

Laravel Cashier Connect add support for Stripe Connect Subscription to laravel Cashier (based on v10.7.1).

Documentation

1) Install the package

2) Follow the instructions of cashier in the official guide The installations process is the same.

3) Add the Trait to User model from

Create your .env file

You will need to set the Stripe Testing Secret env variable before your vendor/bin/phpunit call in order to run the Cashier Connect tests:

STRIPE_SECRET=<your Stripe secret>

Please note that due to the fact that actual API requests against Stripe are being made, these tests take a few minutes to run.

How this package work.

All the default cashier methods remain the same if not direct support by CashierConnect.

This package assume you created yours Stripe Accounts directly or through API then assign the Account id to user->stripe_account_id.

Every user can be a customers or an Stripe Account.

Basic Method Added to User model

IMPORTANT any further call after setStripeAccount() will be direct to Stripe Account so remember to call unsetStripeAccount() if needed.

Methods Supported (Version 0.3.0).

The method make every subsequent call goes from your Platform to Stripe Account passed like parameter. If you need to change the userAccount or pause the StripeAccount call see the previous section.

Creating Subscriptions

Add user detail

Checking Subscription Status

Subscribe to plan

Reccuring check

Cancelled Subscription Status

Changing Plans

Subscription Quantity

Subscription Ancor Date

Subscription Trials

Cancelling Subscriptions

Resume Subscriptions

*All cashier methods not in list are not tested to work with Stripe Account

More.

If you want set an application fee set on user model

The Web hook from stripe connect have different secret key. Set

to allow cashier connect to accept webhook from stripe connect.

License

Laravel Cashier Connect is open-sourced software licensed under the MIT license.


All versions of cashier-connect with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
dompdf/dompdf Version ^1.0.2
illuminate/contracts Version ^6.0|^7.0|^8.0
illuminate/database Version ^6.0|^7.0|^8.0
illuminate/http Version ^6.0|^7.0|^8.0
illuminate/log Version ^6.0|^7.0|^8.0
illuminate/notifications Version ^6.0|^7.0|^8.0
illuminate/routing Version ^6.0|^7.0|^8.0
illuminate/support Version ^6.0|^7.0|^8.0
illuminate/view Version ^6.0|^7.0|^8.0
moneyphp/money Version ^3.2
nesbot/carbon Version ^2.0
stripe/stripe-php Version ^7.0
symfony/http-kernel Version ^4.3|^5.0
symfony/intl Version ^4.3|^5.0
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 celtyvsk/cashier-connect contains the following files

Loading the files please wait ....