inaxo/laravelstripehandler 问题修复 & 功能扩展

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

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

inaxo/laravelstripehandler

最新稳定版本:v1.0.0

Composer 安装命令:

composer require inaxo/laravelstripehandler

包简介

Laravel package that contains everything you need to implement a stripe payment gateway

README 文档

README

  1. Run command:
composer require inaxo/laravelstripehandler
  1. And:
composer require stripe/stripe-php
  1. Add the following line to the autoload section in the composer.json file:
"Inaxo\\LaravelStripeHandler\\": "vendor/inaxo/laravelstripehandler/src/",
  1. Run the command:
composer dump-autoload
  1. Add the following line to the providers key array in the config/app.php file:
Inaxo\LaravelStripeHandler\LaravelStripeHandlerServiceProvider::class,
  1. Run the command again:
composer dump-autoload
  1. Now, to publish a package config file you need to run the following command:
php artisan vendor:publish --provider="Inaxo\LaravelStripeHandler\LaravelStripeHandlerServiceProvider"
  1. After publishing the service provider, you need to add this line to the middleware array in your app/Http/Kernel.php:
\Illuminate\Session\Middleware\StartSession:: class,
  1. If you've completed all the previous steps, you need to enter data in resources/LaravelStripeHandler/products.* (XML by default). After that, you should add additional keys in your .env file:
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
STRIPE_HOME_ROUTE=
STRIPE_CURRENCY=

Enjoy!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固