Skip to content
Pdf parser for https://egrul.nalog.ru/
Branch: master
Clone or download
Latest commit 8d3068c Apr 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Updated documents examples Feb 15, 2019
src/antonshell/EgrulNalogParser
LICENSE Initial commit Sep 8, 2017
README.md Updated demo links Apr 18, 2019
composer.json Fixed php 7.2 capability. Updated php parser dependency. Fixed parsin… Feb 15, 2019

README.md

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);
You can’t perform that action at this time.