Skip to content

Instantly share code, notes, and snippets.

@antonshell
Last active October 3, 2017 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonshell/3ca2772fbe4c46abfbbfe58fa5bb71d8 to your computer and use it in GitHub Desktop.
Save antonshell/3ca2772fbe4c46abfbbfe58fa5bb71d8 to your computer and use it in GitHub Desktop.
egrul-nalog-parser examples
<?php
$parser = new \antonshell\EgrulNalogParser\Parser();
// parse for Individual Entrepreneur
$pathPe = __DIR__ . '/nalog_pe.pdf';
$results = $parser->parseNalogPe($pathPe);
// parse for Organization
$pathOrg = __DIR__ . '/nalog_org.pdf';
$parser->parseNalogOrg($pathOrg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment