PHPackages                             arcanedev/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. [API Development](/categories/api)
4. /
5. arcanedev/stripe

ActiveLibrary[API Development](/categories/api)

arcanedev/stripe
================

Stripe PHP Library

5.2.0(8y ago)72511MITPHPPHP &gt;=7.0

Since Dec 20Pushed 8y ago4 watchersCompare

[ Source](https://github.com/ARCANEDEV/Stripe)[ Packagist](https://packagist.org/packages/arcanedev/stripe)[ Docs](https://github.com/ARCANEDEV/Stripe)[ RSS](/packages/arcanedev-stripe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (55)Used By (0)

PHP library for Stripe [![Packagist License](https://camo.githubusercontent.com/36c9c7e1beb82e464923fb25ac92c72654e13a39eaa2361e73ff93a9d69946f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617263616e656465762f7374726970652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md) [![For PHP](https://camo.githubusercontent.com/cdc03b34bee04f3c6afe99b47173b09d65b92d88b04aded32b3b8cc5e12ecee9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d4672616d65776f726b25323061676e6f737469632d3446354239332e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Stripe)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-library-for-stripe--)

[![Travis Status](https://camo.githubusercontent.com/ebd8fd18d4c2ba73e16edb41a332c5a4941215619b105752c0cab8ac8f82c55b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f415243414e454445562f5374726970652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ARCANEDEV/Stripe)[![Coverage Status](https://camo.githubusercontent.com/417880eb34682461c2aed805114c8e74172d3a55397865a0bdeaf0ce20b1f7ba/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f5374726970652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Stripe/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c41979d9b6ac1c010bebb7053ccaa66817ff98cc0406dd26b6204fa9c92f4095/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f5374726970652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Stripe/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/555337a70aed1b87a36dacb6af2a45b0d38e7e3184617a41aa150e6a1611ed8a/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f62396134306262612d626636382d346463362d393066382d3139373864636636343335612e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/b9a40bba-bf68-4dc6-90f8-1978dcf6435a)[![Github Issues](https://camo.githubusercontent.com/7555df4dbeadee517d0a4ef873ac286faffa49265047a759060849102cd2b887/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f5374726970652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Stripe/issues)

[![Packagist](https://camo.githubusercontent.com/211c36dcfca960cf82586dd91676708a2b6dd3c5c3cbe607bcf9d16bf61f38da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d617263616e656465762f7374726970652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/stripe)[![Packagist Release](https://camo.githubusercontent.com/52208b4934d87a35b0fe94eb8e0b64c94a98f67cdd560cfa91987b857dc2958a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617263616e656465762f7374726970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/stripe)[![Packagist Downloads](https://camo.githubusercontent.com/d402005451998d1653dee5c9e1598fdd8825d761b9da3aa068d62c025a78acd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f7374726970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/stripe)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

You can sign up for a Stripe account at .

### Requirements

[](#requirements)

```
- PHP >= 5.6.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *

```

INSTALLATION
------------

[](#installation)

### Composer

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). By running `composer require arcanedev/stripe`.

USAGE
-----

[](#usage)

Simple usage looks like :

```
require_once('vendor/autoload.php');

use Arcanedev\Stripe\Stripe;
use Arcanedev\Stripe\Resources\Charge;

Stripe::setApiKey('your-stripe-api-key');

$charge = Charge::create([
    'card'     => [
        'number'    => '4242424242424242',
        'exp_month' => 8,
        'exp_year'  => 2018,
    ],
    'amount'   => 2000,
    'currency' => 'usd'
]);

var_dump($charge);
```

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

[](#documentation)

Please see [Stripe API Reference](https://stripe.com/docs/api) for up-to-date documentation.

Contribution
------------

[](#contribution)

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- Thanks to [stripe/stripe-php](https://github.com/stripe/stripe-php) team and their contributors.
- [ARCANEDEV](https://github.com/arcanedev-maroc)
- [All Contributors](https://github.com/ARCANEDEV/Stripe/graphs/contributors)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~38 days

Total

54

Last Release

3091d ago

Major Versions

2.1.2 → 3.0.02015-08-07

3.21.0 → 4.0.02016-09-29

v4.x-dev → 5.0.02017-10-25

PHP version history (3 changes)2.0.0PHP &gt;=5.4

4.2.0PHP &gt;=5.6

5.0.0PHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (490 commits)")

---

Tags

paymentpayment-gatewayphpstripestripe-apiapistripelibrarypaymentpayarcanedev

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[comgate/sdk

Comgate PHP SDK

13327.8k](/packages/comgate-sdk)[mage2pro/stripe

Stripe integration with Magento 2

605.3k](/packages/mage2pro-stripe)

PHPackages © 2026

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