定制 tpframe/tpay 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

tpframe/tpay

Composer 安装命令:

composer require tpframe/tpay

包简介

package for PA-tool

README 文档

README

  • Public excel : php artisan vendor:publish --tag=seed

  • init data T53B : php artisan gfl-seed:T53B

  • init data T54B : php artisan gfl-seed:T54B

  • init data T56B : php artisan gfl-seed:T56B

  • Public config : php artisan vendor:publish --tag=config

  • After you have installed PA tool, open your Laravel config file config/app.php and add the following lines. In the $providers array add the service providers for this package.

    GFL\Tool\ToolServiceProvider::class,

  • Add the facade of this package to the $aliases array.

    'Tool' => GFL\Tool\Facades\ToolFacade::class,

  • Code Examples

    $density_actual = 0.79 ; // Density actual
    $Temperature = 28 ; // Temperature (*C)
    $volumn = 1000 ; // Volumn
    $unit_volumn = 'gallon'; // gallon , lit
    $exchange_rate = 25000 ; // exchange rate
    $price = 20000; //price
    $unit_price = 'VND/Gallon'; // VND/Gallon, USD/Gallon
    $vat = 20 ; // %
    $data = Tool::convert($density_actual,$Temperature,$volumn,$unit_volumn,$exchange_rate,$price,$unit_price,$vat); // convert

   dd($data); 
  //array:8 [
  //  "D15" => 0.7995
  //  "VCF" => 0.9879
  //  "WCF" => 0.7984
  //  "LIT" => 76.8254
  //  "KG" => 60.5952
  //  "sub_amount" => 123456,
  //  "vat" => 123456,
  //  "amount" => 123456
  //]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固