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

ActiveSymfony-bundle

crs/stripe
==========

Bundle used to make payment amd manage client payment by stripe

v1.0(8y ago)04MITPHPPHP &gt;=5.5.9

Since Mar 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sbsanjaybharti/stripe-bundle)[ Packagist](https://packagist.org/packages/crs/stripe)[ RSS](/packages/crs-stripe/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Stripe payment Symfony Bundle
=============================

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

The bundle is use to make payment and manage the client with strip payment gatway

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Quick Start](#quick-start)

### Installation:

[](#installation)

#### Install Package

[](#install-package)

Add CRS/SendGridBundle to your `composer.json` file.

```
{
  "require": {
    "crs/stripe": "~1.0"
  }
}
```

Add path in appKernel.php in bundle variable.

```

        $bundles = [
            ....
            ....
            ....
            new CRS\StripeBundle\CRSStripeBundle(),
        ];

```

#### Alternative: Install package from cmd

[](#alternative-install-package-from-cmd)

```
	composer require crs/stripe

```

### Quick Start:

[](#quick-start)

Add configuration to your config.yml file

```
#Stripe API Access
crs_stripe:
    publishable_key: "pk_test_key" #add your publishable key here
    secret_key: "sk_test_key"   #add your secret key here
    currency: "USD" #add your currency key here

```

Note: amount should be in cent means $1 = 100 cent. So, use 100 insted of $1, 200 insted of $2 means amount = amount \* 100

##### How to use:

[](#how-to-use)

Create an object

```
   $stripe = new crs_stripe();

```

1. For making the payment directly :

```
 $stripe->setCardNumber();
        $stripe->setName(');
        $stripe->setExpMonth();
        $stripe->setExpYear('Expiration Year');
        $stripe->setCVC();
        $new_customer = $stripe->Charge()->Pay( * 100);

```

2. Stripe Charge retrive :

```
 $retrive_charge = $stripe->Charge()->get('ch_key');

```

3. Stripe Charge List :

```
 $retrive_charge = $stripe->Charge()->All();

```

4. Stripe Customer create :

```
        $stripe->setCardNumber();
                         $stripe->setName(');
                         $stripe->setExpMonth();
                         $stripe->setExpYear('Expiration Year');
                         $stripe->setCVC();
        $new_customer = $stripe->Customer()->Create();

```

5. Stripe Customer retrive :

```
 $new_customer = $stripe->Customer()->get('cus_key');

```

6. Stripe Customer list :

```
 $new_customer = $stripe->Customer()->All();

```

7. Stripe Customer delete :

```
 $new_customer = $stripe->Customer()->Delete('cus_key');

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

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

2967d ago

### Community

---

Top Contributors

[![sbsanjaybharti](https://avatars.githubusercontent.com/u/6706435?v=4)](https://github.com/sbsanjaybharti "sbsanjaybharti (14 commits)")

### Embed Badge

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

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

PHPackages © 2026

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