antonshell / egrul-nalog-parser
There is no license information available for the latest version (0.1.0) of this package.
Pdf parser for https://egrul.nalog.ru/
0.1.0
2020-04-05 08:10 UTC
Requires
- php: >=5.4.0
- ext-mbstring: *
- smalot/pdfparser: ^0.11.0
This package is not auto-updated.
Last update: 2025-03-31 07:27:34 UTC
README
Pdf parser for https://egrul.nalog.ru/
Instalation
composer require "antonshell/egrul-nalog-parser:dev-master"
Demo
See demo for more details
Examples
Parse PDF, auto detect type
<?php $parser = new \antonshell\EgrulNalogParser\Parser(); // parse, auto detect type $path = __DIR__ . '/nalog_pe.pdf'; $results = $parser->parseDocument($path);
Parse PDF for Individual Entrepreneur
<?php $parser = new \antonshell\EgrulNalogParser\Parser(); // parse for Individual Entrepreneur $pathPe = __DIR__ . '/nalog_pe.pdf'; $results = $parser->parseNalogPe($pathPe);
Parse PDF for Organization
<?php $parser = new \antonshell\EgrulNalogParser\Parser(); // parse for Organization $pathOrg = __DIR__ . '/nalog_org.pdf'; $parser->parseNalogOrg($pathOrg);