承接 serengiy/easy-link 相关项目开发

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

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

serengiy/easy-link

最新稳定版本:1.1.1.0

Composer 安装命令:

composer require serengiy/easy-link

包简介

easy-link package

README 文档

README

Installation

1. Add the Service Provider

\Serengiy\EasyLink\Providers\EasyLinkServiceProvider::class

2. Publish the Configuration File

Run the following Artisan command to publish the EasyLink configuration file:

php artisan vendor:publish --provider="Serengiy\EasyLink\Providers\EasyLinkServiceProvider"

3. Add Environment Variables

Add the following configuration values to your .env file:

EASY_LINK_URL='URL sendbox or easylink'
EASY_LINK_CK='Your company key'
EASY_LINK_APP_ID='Your app id'
EASY_LINK_APP_SECRET='Your app secret'

4. Set the Private Key Path

In the published configuration file (config/easylink.php), specify the path to your private key file for the private_key parameter:

'private_key' => storage_path('/path/to/your/private_key.pem'),

5. Ensure Required PHP Extension

Your application needs the openssl PHP extension to use this package. Make sure ext-openssl is added to your main composer.json file to enforce this requirement:

{
    "require": {
        "php": "^8.0",
        "ext-openssl": "*"
    }
}

统计信息

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

GitHub 信息

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

其他信息

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