lasserafn / php-fik
Generate danish FIK numbers easily.
Installs: 25 148
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^5.6|^7.0|^7.1|^8.0|^8.1|^8.2
Requires (Dev)
- phpunit/phpunit: ^5.7
- satooshi/php-coveralls: ^1.0
This package is auto-updated.
Last update: 2024-10-26 12:08:26 UTC
README
Generate danish FIK (Fælles Indbetalings Kort) numbers from invoice / reminder number.
Installation
You can install the package via composer:
composer require LasseRafn/php-fik
Usage
use LasseRafn\FIK\FIK; echo FIK::generate(1003); // 000000000100305 echo FIK::generate(1004, $isReminder = true); // 000000000100438 // Helpers echo fik_invoice(1003); // 000000000100305 echo fik_reminder(1004); // 000000000100438