Skip to content

antonshell/egrul-nalog-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egrul-nalog-parser

Pdf parser for https://egrul.nalog.ru/

egrul-nalog-parser

Instalation

composer require "antonshell/egrul-nalog-parser:dev-master"

Demo

See demo for more details

egrul-nalog-parser

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);

About

Pdf parser for https://egrul.nalog.ru/

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages