hubforce / file-parser-sdk
This is a SDK for working with file parsing service.
v1.1.1
2023-11-01 11:18 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5.0
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is not auto-updated.
Last update: 2024-05-16 12:17:03 UTC
README
Installation
You can install the package via composer:
composer require hubforce/file-parser-sdk
Set env variable PARSING_SERVICE_HOST
You can publish the config file with:
php artisan vendor:publish --tag="file-parser-sdk-config"
This is the contents of the published config file:
return [
'host' => ''
];
Usage
$fileParserSdk = new Hubforce\FileParserSdk();
$fileParserSdk->parseFileByUrl($url)
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.