Download the PHP package avro/stripe-bundle without Composer

On this page you can find all versions of the php package avro/stripe-bundle. 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 stripe-bundle

AvroStripeBundle Build Status

A symfony2 bundle for interacting with the awesome Stripe payment service.

Features:

Status

WIP

Step 1: Download AvroStripeBundle using composer

Add AvroStripeBundle in your composer.json:

Now tell composer to download the bundle by running the command:

Step 2: Enable the bundle

Enable the bundle in the kernel:

Step 3: Update your user class

Step 5: Extend the bundle

Create a bundle skeleton that extends this bundle

Step 6: Create a plan class

The plan class is a superclass which needs to be extended. This allows you to add custom methods such as usage limits etc...

Step 7: Configure your application's security.yml

Make sure the routes are accessible only to authenticated users

Step 8: Configure the AvroStripeBundle

Add your Stripe API keys to your config.yml

Step 9: Import AvroStripeBundle routing files

Import the AvroStripeBundle routing files.

In YAML:

Step 10: Update your database schema

Now that the bundle is configured, the last thing you need to do is update your database schema.

For MongoDB, you can run the following command to create the indexes.

Hooks

The bundle receives hooks at "/stripe/hook" and dispatches the event which you can listen for

for example.

the 'charge.succeeded' event is dispatched as 'avro_stripe.charge.succeeded' by the HookController

Notes

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

In order to use the built-in email functionality, you must activate and configure the SwiftmailerBundle.

Next Steps


All versions of stripe-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
stripe/stripe-php Version 1.7.*
knplabs/knp-snappy 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 avro/stripe-bundle contains the following files

Loading the files please wait ....