Download the PHP package nerdysouth/stripe-bundle without Composer

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

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Stripe Bundle for Symfony

Description

This bundle helps developers do a Stripe integration in a Symfony application for processing payments. The bundle allows you to generate a redirect URL for one-time or recurring subscription payments, using parameters like success URL, failure URL, amount, and optional product or subscription description. The bundle also adds a route for webhooks and fires a custom event on all webhooks from Stripe, as well as stores Transactions and their status using Doctrine, so that logging and tracking successful payments and subscriptions, and other events, is a breeze.

For now, this bundle allows you to:

Next Steps

Installation

Install the stripe-bundle package with composer:

composer require nerdysouth/stripe-bundle

Add the following lines to your config/routes.yaml file (modify the path if you prefer a different path):

Add the following lines to your config/packages/doctrine.yaml file:

Run a doctrine schema update to ensure the additional table is added:

php bin/console doctrine:schema:update -f

Generating Payment Links

Here is an example controller which will redirect the user to your payment page.

Event Handling

This bundle dispatches a NerdySouth\StripeBundle\Event\StripeEvent when a webhook is received, with a name that is equal to what Stripe uses as an event "type". For example, values like checkout.session.completed or payment_intent.succeeded - the event has methods like getEventType() and getEventData() to get the event type and the JSON data received in the webhook.

Doing custom code to update your own objects is as simple as creating your own event subscriber which listens for the events you care about.

Support & Contributing

Contributions are welcome and encouraged. If you would like to contribute, here is how you can help:

Fork the project. Create a topic branch from master . Make some commits to improve the project. Push this branch to your GitHub project. Open a Pull Request on GitHub. Explain what your code does or how it helps.


All versions of stripe-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-curl Version *
symfony/framework-bundle Version 7.2.*
symfony/event-dispatcher Version 7.2.*
symfony/twig-bundle Version ^7.2
doctrine/orm Version ^3.3
stripe/stripe-php Version ^16.6
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 nerdysouth/stripe-bundle contains the following files

Loading the files please wait ...