PHPackages                             scribe/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. scribe/stripe-bundle

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

scribe/stripe-bundle
====================

Symfony bundle to handle interaction with stripe.com payment api

v1.0.2(11y ago)02.9kMITPHPPHP &gt;=5.4

Since Mar 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/src-run/stripe-api-bundle)[ Packagist](https://packagist.org/packages/scribe/stripe-bundle)[ Docs](https://github.com/scribenet/ScribeStripeBundle)[ RSS](/packages/scribe-stripe-bundle/feed)WikiDiscussions master Synced 2w ago

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

ScribeStripeBundle
==================

[](#scribestripebundle)

Symfony bundle to handle interaction with stripe.com api for payments

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

[](#requirements)

- You must register for an account and receive an API key from
- PHP5
- Curl PHP module

Installation
------------

[](#installation)

Add the following to your composer.json file in the `require` block:

```
"scribe/stripe-bundle": "dev-master"

```

Issue a `composer.phar update` to download your new package (this command will also update any outdated packages).

To register the bundle within your application, you must add the bundle to the `AppKernel.php` file within the `$bundles` array:

```
new Scribe\StripeBundle\ScribeStripeBundle()

```

Configuration
-------------

[](#configuration)

Edit your symfony config.yml file and add, at a minimum, the following lines:

```
scribe_stripe:
  api_key: your-api-key-goes-here

```

You may optionally configure the following items as well (show with their default values):

```
scribe_stripe:
  api_key: your-api-key-goes-here
  verify_ssl_certificates: true
  log_activity: false

```

Usage
-----

[](#usage)

Minimal usage:

```
$charge = $container->get('scribe.stripe.charge');

try {
	$charge
		->setAmount(10, 00)
		->setCardNumber('4242424242424242')
		->setCardExperation(01, 16)
		->setCardCvc('000')
		->charge()
	;
} catch(\Scribe\StripeBundle\Exception\StripeException $e) {
	// handle exception
}

$response = $charge->getResponse();
```

You can also use a collection of other fields ([https://stripe.com/docs/api/php#create\_charge](https://stripe.com/docs/api/php#create_charge)) to pass additional data to Stripe.

```
$charge = $container->get('scribe.stripe.charge');

try {
    $charge
        ->setAmount(10, 20)
        ->setCardNumber('4242424242424242')
        ->setCardExperation(1, 2016)
        ->setCardCvc('000')
        ->setName('First Last')
        ->setAddressLine01('123 Address Ln.')
        ->setAddressLine02('Suite 666')
        ->setCity('City')
        ->setState('State')
        ->setZip('12345')
        ->setCountry('USA')
        ->setMetadata([
            'my_client_id'   => '123456',
            'something_else' => 'more info about the customer',
        ])
        ->setDescription('A test Stripe charge!')
        ->setStatementDescription('TEST CHARGE')
        ->setReceiptEmail('someone@somwhere.com')
        ->charge()
    ;
} catch(\Scribe\StripeBundle\Exception\StripeException $e) {
    // handle exception
}

$response = $charge->getResponse();
```

License
-------

[](#license)

Please see the LICENSE file distributed with this software.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~85 days

Total

4

Last Release

4249d ago

Major Versions

0.5.0-alpha → v1.0.02014-08-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/58cf83f3ed29f210aa52fec443014572688d7c948aeac0cfdb8ccf216a3f437b?d=identicon)[robfrawley](/maintainers/robfrawley)

---

Tags

stripeSymfony2Scribe

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M384](/packages/easycorp-easyadmin-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M556](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.7k](/packages/contao-core-bundle)

PHPackages © 2026

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