承接 zeevx/lara-lazer 相关项目开发

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

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

zeevx/lara-lazer

Composer 安装命令:

composer require zeevx/lara-lazer

包简介

A Laravel Package for LazerPay Finance - https://lazerpay.finance

README 文档

README

LazerPay Laravel Package

https://lazerpay.finance

Lara-Lazer helps you Set up, test, and manage your Lazerpay Finance integration directly in your Laravel App.

Total Downloads

Official Documentation

https://docs.lazerpay.finance/home/

Installation

You can install the package via composer:

composer require zeevx/lara-lazer

After installation, run (to create the lara-lazer.php config file):

php artisan lazerpay:publish

Input your secrete key, public key and version number for Lazerpay:

return [
    'LAZER_PUBLIC_KEY' => '',
    'LAZER_SECRET_KEY' => '',
    'LAZER_VERSION' => 1
];

Usage:

Use the helper function

lazerpay() //It works automatically

To see supported coins

  • get accepted coins by doing this:
lazerpay()->getAcceptedCoins();

To Initiate transaction

  • Initiate a transaction by doing this:
$params = [
        'reference' => 'random-unique-string',
        'amount' => 100000,
        'currency' => 'USD',
        'customer_name' => 'Paul Adams',
        'customer_email' => 'adamsohiani@gmail.com',
        'coin' => 'USDT',
        'accept_partial_payment' => false,
        ];

lazerpay()->initiateTransaction($params);

To Verify transaction

  • verify a transaction by doing this:
lazerpay()->confirmTransaction('reference-used');

To make transfer

  • to initiate transfer, do this:
$params = [
        'amount' => 1000,
        'recipient' => 'recipient-address',
        'coin' => 'coin',
        'blockchain' => 'blockchain'
        ];
        
lazerpay()->transfer($params);

Security

If you discover any security related issues, please email adamsohiani@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固