PHPackages                             tomedio/stripe-symfony - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tomedio/stripe-symfony

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

tomedio/stripe-symfony
======================

Stripe integration for Symfony applications with Doctrine and API Platform

0.2.3(1y ago)126MITPHPPHP &gt;=8.1CI passing

Since Mar 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tomedio/stripe-symfony)[ Packagist](https://packagist.org/packages/tomedio/stripe-symfony)[ Docs](https://tomedio.github.io/stripe-symfony/)[ RSS](/packages/tomedio-stripe-symfony/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (10)Used By (0)

Stripe Bundle for Symfony
=========================

[](#stripe-bundle-for-symfony)

A Symfony bundle for seamless integration of Stripe payments into your Symfony applications with Doctrine ORM and API Platform support.

[![Deploy Documentation](https://github.com/tomedio/stripe-symfony/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/tomedio/stripe-symfony/actions/workflows/deploy-docs.yml)

Features
--------

[](#features)

- **Symfony Integration**: Seamlessly integrates with Symfony, Doctrine ORM, and API Platform
- **Customer Management**: Easily manage customers with billing address support
- **Subscription Handling**: Complete subscription lifecycle with trial period support
- **Invoice Tracking**: Track and manage invoices with automatic status updates
- **Webhook Processing**: Built-in webhook handling with Symfony events
- **Pay-per-action Support**: Implement usage-based billing for your API
- **Prepaid Credits System**: Allow users to purchase and use credits
- **Secure Checkout**: Process payments securely via Stripe Checkout

Quick Installation
------------------

[](#quick-installation)

### 1. Configure Symfony Flex (Optional)

[](#1-configure-symfony-flex-optional)

This bundle provides custom Symfony Flex recipes to simplify the installation process. To use them, add the following to your application's `composer.json` file:

```
{
    "extra": {
        "symfony": {
            "endpoint": [
                "https://raw.githubusercontent.com/tomedio/flex-recipes/main/index.json",
                "flex://defaults"
            ]
        }
    }
}
```

### 2. Install via Composer

[](#2-install-via-composer)

```
composer require tomedio/stripe-symfony
```

### 3. Register the bundle

[](#3-register-the-bundle)

```
// config/bundles.php
return [
    // ...
    Tomedio\StripeBundle\StripeBundle::class => ['all' => true],
];
```

### 4. Add environment variables

[](#4-add-environment-variables)

The bundle will automatically create the necessary configuration files during installation. You just need to add the required environment variables to your `.env` file:

```
# .env
STRIPE_API_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
STRIPE_SUCCESS_URL=https://your-domain.com/payment/success
STRIPE_CANCEL_URL=https://your-domain.com/payment/cancel

```

Documentation
-------------

[](#documentation)

For detailed implementation guides, interface references, and examples, please visit our comprehensive documentation:

****

The documentation includes:

- Complete installation and configuration instructions
- Interface implementation examples
- Subscription plan management
- Webhook handling
- API Platform integration
- Pay-per-action implementation
- Credit system setup
- And much more!

License
-------

[](#license)

This bundle is released under the MIT License.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance45

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

8

Last Release

427d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29e4496bfcaa52ce81b84c6b7782c485a60b955ed0e96f7b52622e620e6baf4f?d=identicon)[tomedio](/maintainers/tomedio)

---

Top Contributors

[![tbajorek-tomedio](https://avatars.githubusercontent.com/u/136159657?v=4)](https://github.com/tbajorek-tomedio "tbajorek-tomedio (16 commits)")

---

Tags

symfonystripedoctrinepaymentsubscriptionapi-platform

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomedio-stripe-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/tomedio-stripe-symfony/health.svg)](https://phpackages.com/packages/tomedio-stripe-symfony)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
