PHPackages                             iulyanp/stripe-bundle - 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. [Payment Processing](/categories/payments)
4. /
5. iulyanp/stripe-bundle

Abandoned → [iulyanp/stripe-bundle](/?search=iulyanp%2Fstripe-bundle)Symfony-bundle[Payment Processing](/categories/payments)

iulyanp/stripe-bundle
=====================

Stripe bundle

v0.1.0(9y ago)07MITPHP

Since Jul 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/iulyanp/stripe-bundle)[ Packagist](https://packagist.org/packages/iulyanp/stripe-bundle)[ RSS](/packages/iulyanp-stripe-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

IPStripeBundle
==============

[](#ipstripebundle)

This is a symfony bundle that implements payment with Stripe library.

Requirements
------------

[](#requirements)

> The version `0.1.0` requires that you'll have already installed AsseticBundle.

Why to use it?
--------------

[](#why-to-use-it)

> The most important thing you need to know when you choose to use this bundle is that your customer card information are safe. This means that the sensible information about the client credit card will never touch your servers.

### Installation

[](#installation)

#### Require the bundle

[](#require-the-bundle)

```
$ composer require iulyanp/IPStripeBundle
```

#### Update AppKernel.php

[](#update-appkernelphp)

```
$bundles = [
    new IP\StripeBundle\IPStripeBundle(),
];
```

#### Add bundle routes to app/config/routing.yml file

[](#add-bundle-routes-to-appconfigroutingyml-file)

```
ip_stripe:
    resource: "@IPStripeBundle/Resources/config/routing.yml"
    prefix:   /stripe
```

#### Configure the bundle

[](#configure-the-bundle)

```
# parameters.yml
stripe_public_key: 'your_public_stripe_key'
stripe_private_key: 'your_private_stripe_key'
amount: 1000
currency: usd

# config.yml
ip_stripe:
    public_key: "%stripe_public_key%"
    private_key: "%stripe_private_key%"
    amount: "%amount%"
    currency: "%currency%"
    view_template: "%view_template%"
```

#### Configure where to redirect after success payment

[](#configure-where-to-redirect-after-success-payment)

By default after success the bundle will redirect you to `ip_stripe_success` route. If you want to change this you just need to override the `route_success` parameter and set the correct route for you.

```
# parameters.yml
route_success: 'ip_stripe_success'

# config.yml
ip_stripe:
    route_success: "%route_success%"
```

#### Configure the success payment template

[](#configure-the-success-payment-template)

By default the success template is set to `'IPStripeBundle:Stripe:success.html.twig'` twig template. To override it you just need to add `success_template` in your `parameters.yml` file.

```
# parameters.yml
success_template: 'IPStripeBundle:Stripe:success.html.twig'

# config.yml
ip_stripe:
    success_template: "%success_template%"
```

#### Change the stripe payment form template

[](#change-the-stripe-payment-form-template)

By default the stripe payment form template is set to `'IPStripeBundle:Stripe:charge.html.twig'` twig template. To override it you just need to add `view_template` in your `parameters.yml` file.

```
# parameters.yml
view_template: 'IPStripeBundle:Stripe:charge.html.twig'

# config.yml
ip_stripe:
    view_template: "%view_template%"
```

#### Example: Overriding The Default layout.html.twig¶

[](#example-overriding-the-default-layouthtmltwig)

It is highly recommended that you override the Resources/views/layout.html.twig template so that the pages provided by the IPStripeBundle have a similar look and feel to the rest of your application. The following Twig template file is an example of a layout file that might be used to override the one provided by the bundle.

```
{% extends 'layout.html.twig' %}

{% block title %}My Demo Application{% endblock %}

{% block ip_stripe_content %}
    {% include 'your_brand_new_form.html.twig' %}
{% endblock %}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3648d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36a79c4e577e9fa16232e332648232b176262e98e7a9e6b6a8b546fa4acd26c7?d=identicon)[iulyanp](/maintainers/iulyanp)

---

Top Contributors

[![iulyanp](https://avatars.githubusercontent.com/u/6533422?v=4)](https://github.com/iulyanp "iulyanp (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iulyanp-stripe-bundle/health.svg)

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

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29734.8k](/packages/sulu-skeleton)[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.

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

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

9317.2k55](/packages/open-dxp-opendxp)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3310.1k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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