arcanedev / stripe
Stripe PHP Library
5.2.0
2017-11-29 13:25 UTC
Requires
- php: >=7.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- psr/log: ~1.0
Requires (Dev)
- phpunit/phpcov: ~4.0
- phpunit/phpunit: ~6.0
- 5.2.0
- 5.1.0
- 5.0.0
- v4.x-dev
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- dev-master / 4.0.x-dev
- 4.0.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.1
- 3.14.0
- 3.13.4
- 3.13.3
- 3.13.2
- 3.13.1
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.1
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.0.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
This package is auto-updated.
Last update: 2024-12-05 18:46:13 UTC
README
By ARCANEDEV©
You can sign up for a Stripe account at https://stripe.com.
Requirements
- PHP >= 5.6.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
INSTALLATION
Composer
You can install the bindings via Composer. By running composer require arcanedev/stripe
.
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
Please see Stripe API Reference for up-to-date documentation.
Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests, please check the contribution guidelines.
Security
If you discover any security related issues, please email arcanedev.maroc@gmail.com instead of using the issue tracker.
Credits
- Thanks to stripe/stripe-php team and their contributors.
- ARCANEDEV
- All Contributors