nip24 / client
NIP24 Client for PHP
Installs: 26 994
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nip24/client
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- ext-openssl: *
- ext-simplexml: *
README
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: