quartet / stripe-bundle
此包已被废弃且不再维护。未建议替代包。
将 stripe 集成到 symfony2。
v0.4.1
2016-12-20 01:36 UTC
Requires
- php: ~5.6|~7.0
- stripe/stripe-php: ^4.3.0
- symfony/dependency-injection: ^2.6.5|~3.0
- symfony/framework-bundle: ^2.7.6|~3.0
Requires (Dev)
- phpunit/phpunit: ^5.5.7
- symfony/finder: ^2.7.6|~3.0
- symfony/monolog-bundle: ^2.11.2
- symfony/translation: ^2.7.6|~3.0
This package is not auto-updated.
Last update: 2023-02-04 18:11:41 UTC
README
安装
使用 composer 下载 QuartetStripeBundle
$ composer require quartet/stripe-bundle
启用包
在 kernel 中启用包
<?php // app/Appkernel.php public function registerBundles() { $bundles = [ new Quartet\StripeBundle\QuartetStripeBundle(), ]; }
配置您的 stripe 应用程序密钥
# app/config/config.yml quartet_stripe: api_secret: your stripe api secret api_public: your stripe api public logger: logger_service_id # [optional] to enable http client logging feature debug: true or false # [optional] to enable http client debugging feature (Useful for functional test)