airondev/flutterwave-laravel-v3 问题修复 & 功能扩展

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

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

airondev/flutterwave-laravel-v3

Composer 安装命令:

composer require airondev/flutterwave-laravel-v3

包简介

A Flutterwave's Version 3 Implementation For Laravel

README 文档

README

Laravel Package for Flutterwave v3 APIs

Installation

To get the latest version of Flutterwave Rave for Laravel, simply use composer:

composer require airondev/flutterwave-laravel-v3

For Laravel => 5.5, skip this step and go to configuration

Once Flutterwave Rave for Laravel is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

'providers' => [
    /*
     * Package Service Providers...
     */
    ...
    Laravel\Flutterwave\RaveServiceProvider::class,
    ...
]

Also add this to the aliases

'aliases' => [
    ...
    'Rave' => Laravel\Flutterwave\Facades\Rave::class,
    ...
]

Configuration

php artisan vendor:publish --provider="Laravel\Flutterwave\RaveServiceProvider"

A configuration-file named flutterwave.php will be placed in your config directory

Usage

Open your .env file and add your public key, secret key, environment variable and logo url like so:

FLUTTERWAVE_PUBLIC_KEY=FLWPUBK-xxxxxxxxxxxxxxxxxxxxx-X
FLUTTERWAVE_SECRET_KEY=FLWSECK-xxxxxxxxxxxxxxxxxxxxx-X
FLUTTERWAVE_ENCRYPTION_KEY=FLWSECK_TESTxxxxxxxxxxxx
FLUTTERWAVE_ENV=staging
  • FLUTTERWAVE_PUBLIC_KEY - This is the api public key gotten from your dashboard (compulsory)

  • FLUTTERWAVE_SECRET_KEY - This is the api secret key gotten from your dashboard (compulsory)

  • FLUTTERWAVE_ENCRYPTION_KEY - This is the encryption key gotten from your dashboard (compulsory)

  • FLUTTERWAVE_ENV - This can be staging or live. Staging and live API keys can be from your dashboard (compulsory)

flutterwave-laravel-v3

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-03