mirovit/eik-validator

Algorithm for validation of EIK/BULSTAT in Bulgaria

1.0.1 2016-01-26 17:41 UTC

This package is auto-updated.

Last update: 2024-11-09 01:51:32 UTC


README

The BULSTAT Register is a unified national administrative register that is kept by the Registry Agency at the Ministry of Justice.

Upon entry of a newly registered entity in the BULSTAT Register, a unique unified identification code (UIC) is generated, called BULSTAT Code, which is the only identifier of business subjects in Bulgaria. All legal subjects listed in the BULSTAT Register shall use and state the BULSTAT UIC in the documents they issue and use in their workflow.

Build Status

How to use?

Pull from Composer:

composer require mirovit/eik-validator

And then use it like so:

<?php

require __DIR__ . '/vendor/autoload.php';

$validator = new Mirovit\EIKValidator\EIKValidator;
$validator->isValid('123123123');

Contributing

If you'd like to contribute, feel free to send a pull request!