stripe-bundle
stripe-bundle copied to clipboard
⚠️ about this bundle ⚠️
I originally developed this bundle to ease the Stripe integration in some projects I was working on. It still work today with specific versions of the Stripe PHP API and Symfony.
However, I no longer have the time to maintain it at the moment, and especially not support the new versions of the Stripe API, not all by myself at least.
If anyone is interested in maintaining such a bundle / making, I would gladly accept some help, we can discuss for instance the publications details on packagist etc.
Otherwise, and especially nowadays, you may consider stop using this bundle, especially under the light of important changes regarding payment regulations in Europe and what it means for Stripe integrations
More informations:
- about Stripe's Charges API
- about the new Payment API from Stripe
If you are looking for alternatives, I find it much easier in more recent versions of Symfony to register your own service and provide parameters for it (such as the Stripe API keys), thanks to their amazing work on Dependency Injection in versions 3+ / 4 and now 5.
Using your own service allows you to:
- control the version of stripe-php you want to use
- control which Stripe API you are integrating and how
- allows you to customize your integration (e.g. adding new methods, customize the flow etc.)
- integrate with other services (from your app, or from the Symfony eco-system: for instance logger, messager, event dispatcher etc. etc.)
There might also be other good bundles facilitating a Stripe integration, but I have left the PHP world myself for now, and are not so up-to-date with its eco-system anymore.
PS: unless I get some maintainers propositions in the coming month, I plan to officially deprecate this bundle around mid-december on packagist, at least to make everyone aware.
Hello, I created https://github.com/FabienPapet/stripe-bundle as a replacement, with Symfony 5.4 & Symfony 6 compatibily. If you want to have a look :)