drei-d/laravel-xentral-orders-parser
最新稳定版本:0.0.4
Composer 安装命令:
composer require drei-d/laravel-xentral-orders-parser
包简介
Parses Xentral order xml files
README 文档
README
Requirements
- Laravel 11
- PHP 8.2 or higher
- ext-simplexml enabled
Setup
This package is available on Packagist via Composer and can be installed with the following command:
composer require drei-d/laravel-xentral-orders-parser
Usage
Once installed, you can parse a file using the OrderParserService:
$orderDto = app(\DREID\LaravelXentralOrdersParser\Services\OrderParserService::class)->parseFromDisk( '<disk>', '<filepath>' );
You can also just parse the xml content without reading it from a file beforehand:
$orderDto = app(\DREID\LaravelXentralOrdersParser\Services\OrderParserService::class)->parse('<xml>');
That's already it. You're good to go.
Enjoy!
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-09-03