gaurangsharma/gst-calculator
Composer 安装命令:
composer require gaurangsharma/gst-calculator
包简介
Simplifies GST calculation and operations
README 文档
README
Installation
You can install the package via composer:
composer require gaurangsharma/gst-calculator
Usage
use Gaurang\GstCalculator\Calculator; echo Calculator::fromCost(100, 18)->getGst(); echo Calculator::fromCost(1000, 9)->getTotalWithGst();
New state functions :
echo Calculator::stateData("HR", "DL")->getGstType(); echo Calculator::stateData("Haryana", "Delhi", 1020, 5)->getAllData();
stateData() accepts 4 arguements sourceState, destinationState, cost, rate.
- sourceState and destinationState can be a state code, state alpha code, or a state name
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-10