noorisys/stripe-subscription 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

noorisys/stripe-subscription

最新稳定版本:1.0.0

Composer 安装命令:

composer require noorisys/stripe-subscription

包简介

Laravel Stripe Subscription using stripe/stripe-php

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require noorisys/stripe-subscription

Add the service provider to config/app.php in the providers array.

Noorisys\StripeSubscription\Providers\StripeSubscriptionServiceProvider::class,

Configuration

Laravel Stripe requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="Noorisys\StripeSubscription\Providers\StripeSubscriptionServiceProvider" --force

This will create a config/stripe.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

You are free to change the configuration file as needed, but the default expected values are below:

    'STRIPE_KEY' => env('STRIPE_KEY'),
    'STRIPE_SECRET' => env('STRIPE_SECRET'),
    'STRIPE_CURRENCY' => env('STRIPE_CURRENCY'),
    'STRIPE_WEBHOOK_SECRET' => env('STRIPE_WEBHOOK_SECRET'),

Run APIs on Postman

import postman collection via link and run APIs

https://api.postman.com/collections/18476697-2b8e4239-4264-4c5b-9ead-217e9242ef10?access_key=PMAT-01GVQH1D3EWJP761ESNDPP9J2D

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-03-24