ohmyshares / broker-report-parser
此包最新版本(1.0.0)没有提供许可信息。
经纪人报告解析工具
1.0.0
2023-12-15 17:49 UTC
Requires
- php: >=8.2
- phpoffice/phpspreadsheet: ^1.29
Requires (Dev)
- phpunit/phpunit: ^10.0
README
需求
php 8.2
或更高版本
依赖
此包依赖于
phpoffice/phpspreadsheet
用于 xls/xlsx 文件
安装
-
将以下内容添加到 composer.json 的仓库中
-
运行
composer require ohmyshares/broker-report-parser
使用方法
// automatically detect parser depending on file $parser = new Parser($filePath); if ($parser) { $results = $parser->parse(); }
支持的解析器列表(可用经纪人)
$brokersList = Parser::brokersAvailable();
测试
./vendor/bin/phpunit ./tests