PHPackages                             uc/payment-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. uc/payment-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

uc/payment-bundle
=================

Symfony 3 bundle integrate Stripe's and PayPal SDK into a Symfony project

1186PHP

Since Sep 14Pushed 8y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

UniCenter Payment Bundle
========================

[](#unicenter-payment-bundle)

### Installation

[](#installation)

To install this bundle, run the command below and you will get the latest version from \[Packagist\]\[3\].

```
composer require stripe/stripe-php ~3.23
```

```
composer require uc/payment-bundle dev-master
```

Load required bundles in AppKernel.php:

```
// app/AppKernel.php
public function registerBundles()
{
  $bundles = array(
    // [...]
    new Uc\PaymentBundle\UcPaymentBundle(),
  );
}
```

And set-up the required configuration

```
# app/config/config.yml
uc_payment:
    stripe:
        app_id: '%uc_payment_stripe_app_id%' The Stripe app id key can be added as a symfony parameter
        app_secret: '%uc_payment_stripe_app_secret%' The Stripe secret key can be added as a symfony parameter
        public_key: '%uc_payment_stripe_public_key%' The Stripe public key can be added as a symfony parameter
    paypal:
        client_id: '%uc_payment_paypal_client_id%' The PayPal cleint id key can be added as a symfony parameter
        secret: '%uc_payment_paypal_secret%' The PayPal secret key can be added as a symfony parameter
```

###### Create a charge (to a platform, or a connected Stripe account)

[](#create-a-charge-to-a-platform-or-a-connected-stripe-account)

```
/**
 * $chargeAmount (int)              : The charge amount in cents, for instance 1000 for 10.00 (of the currency)
 * $chargeCurrency (string)         : The charge currency (for instance, "eur")
 * $paymentToken (string)           : The payment token obtained using the Stripe.js library
 * $applicationFee (int)            : The amount of the application fee (in cents), default to 0
 * $chargeDescription (string)      : (optional) The charge description for the customer
 */
$stripeClient->createCharge($chargeAmount, $chargeCurrency, $paymentToken, $applicationFee, $chargeDescription);
```

###### Refund a Charge

[](#refund-a-charge)

```
/**
 * $chargeId (string)           : The Stripe charge ID (returned by Stripe when you create a charge)
 * $refundAmount (int)          : The charge amount in cents (if null, the whole charge amount will be refunded)
 * $metadata (array)            : additional informations about the refund, default []
 * $reason (string)             : The reason of the refund, either "requested_by_customer", "duplicate" or "fraudulent"
 * $refundApplicationFee (bool) : Wether the application_fee should be refunded aswell, default true
 * $reverseTransfer (bool)      : Wether the transfer should be reversed (when using Stripe Connect "destination" parameter on charge creation), default false
 */
$stripeClient->refundCharge($chargeId, $refundAmount, $metadata, $reason, $refundApplicationFee, $reverseTransfer);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29442534?v=4)[praesyx](/maintainers/praesyx)[@praesyx](https://github.com/praesyx)

---

Top Contributors

[![praesyx](https://avatars.githubusercontent.com/u/29442534?v=4)](https://github.com/praesyx "praesyx (6 commits)")

### Embed Badge

![Health badge](/badges/uc-payment-bundle/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)[oxid-esales/amazon-pay-module

AmazonPay module for OXID

1824.3k](/packages/oxid-esales-amazon-pay-module)

PHPackages © 2026

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