Skip to content

nip24pl/nip24-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIP24 Client for PHP

This is the official repository for NIP24 Client for PHP

This library contains validators for common Polish tax numbers like NIP, REGON and KRS. Validators for EU VAT ID and IBAN are also included. After registration at NIP24 Portal this library could be used for various on-line validations of Polish and EU companies. Please, visit our web page for more details.

Documentation

The documentation and samples are available here.

How to use

Composer

The release version of the library is published in Packagist. Add the following dependency using the composer tool:

composer require nip24/client

Manual setup

Copy the NIP24 directory and its contents somewhere within your project structure. Then include NIP24/NIP24Client.php in your source code (it provides all API definitions) and call the autoloader function.

require_once 'NIP24/NIP24Client.php';
			
\NIP24\NIP24Client::registerAutoloader();

License

This project is delivered under Apache License, Version 2.0:

  • License (Apache 2.0)