承接 swervpaydev/laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

swervpaydev/laravel

最新稳定版本:v0.0.2

Composer 安装命令:

composer require swervpaydev/laravel

包简介

Laravel Client for Swervpay

README 文档

README

Logo Laravel

Laravel Client for Swervpay

Latest Stable Version Latest Unstable Version Total Downloads License


Explore the docs »

X (Twitter) · Linkedin · Changelog

Installation

To get the latest version of Swervpaydev, simply require it

$ composer require swervpaydev/laravel

Or add the following line to the require block of your composer.json file.

"swervpaydev/laravel": "*"

Configuration

You can publish the configuration file using this command:

$ php artisan vendor:publish --tag="swervpay-laravel-config"

A configuration-file named swervpay.php with some sensible defaults will be placed in your config directory:

<?php


/**
 * Configuration file for Swervpay.
 *
 * This file contains the configuration options for the Swervpay integration.
 * The 'secret_key' and 'business_id' options are retrieved from the environment variables.
 */
return [

    /**
     * Configuration option for the secret key used in Swervpay.
     * The value is retrieved from the environment variable SWERVPAY_SECRET_KEY.
     *
     * @var string
     */
    'secret_key' => env('SWERVPAY_SECRET_KEY'),

    /**
     * The business ID for Swervpay.
     * 
     * This value is retrieved from the environment variable SWERVPAY_BUSINESS_ID.
     */
    'business_id' => env('SWERVPAY_BUSINESS_ID'),
];

Documentation

See docs for Laravel here

统计信息

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

GitHub 信息

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

其他信息

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