PHPackages                             lasserafn/php-fik - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. lasserafn/php-fik

ActiveLibrary[Payment Processing](/categories/payments)

lasserafn/php-fik
=================

Generate danish FIK numbers easily.

2.0(3y ago)037.3kMITPHPPHP ^5.6|^7.0|^7.1|^8.0|^8.1|^8.2

Since Jun 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LasseRafn/php-fik)[ Packagist](https://packagist.org/packages/lasserafn/php-fik)[ Docs](https://github.com/LasseRafn/FIK)[ RSS](/packages/lasserafn-php-fik/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Generate danish FIK Numbers
===========================

[](#generate-danish-fik-numbers)

Generate danish FIK (Fælles Indbetalings Kort) numbers from invoice / reminder number.

 [![Build Status](https://camo.githubusercontent.com/ed3de832f4ef46eb579dbedb4636b08ec3ee08b2224a8f93a2abbbf55d05fbc5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4c617373655261666e2f7068702d66696b2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/LasseRafn/php-fik)[![Coverage](https://camo.githubusercontent.com/39d5bef7b0351509c57b72fc43fc819d626d8608d15683c3d922cec7497dcdff/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4c617373655261666e2f7068702d66696b2e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/LasseRafn/php-fik)[![StyleCI Status](https://camo.githubusercontent.com/a2b9db094faddf8e8ff3cdff73b004823829cd7c8830b4ffa60c7c58f09a14d7/68747470733a2f2f7374796c6563692e696f2f7265706f732f39333135353235322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/93155252)[![Total Downloads](https://camo.githubusercontent.com/d08d4d5443549b23bb346573fb2eea4f1bfad9db01f21c8e00eab4e2accad579/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617373657261666e2f7068702d66696b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lasserafn/php-fik)[![Latest Stable Version](https://camo.githubusercontent.com/afc5d068ea825af2bad60d756ab42badeaebeb2bcee92fac4f10c0bd543b01dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617373657261666e2f7068702d66696b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lasserafn/php-fik)[![License](https://camo.githubusercontent.com/11703a9c368d77b4b5797893da2190e40119acaff146e1daf45f807afa8a2179/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c617373657261666e2f7068702d66696b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lasserafn/php-fik)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require LasseRafn/php-fik
```

Usage
-----

[](#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
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~991 days

Total

3

Last Release

1269d ago

Major Versions

v0.9 → 1.02017-09-07

1.0 → 2.02022-11-26

PHP version history (2 changes)v0.9PHP ^5.6|^7.0|^7.1

2.0PHP ^5.6|^7.0|^7.1|^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd953630eb9784e977637a0fe53be91b9dd4b0262a5b5b1fa9277e0c2806b65c?d=identicon)[lasserafn](/maintainers/lasserafn)

---

Top Contributors

[![LasseRafn](https://avatars.githubusercontent.com/u/2689341?v=4)](https://github.com/LasseRafn "LasseRafn (22 commits)")

---

Tags

invoiceAccountingreminderLasseRafnFIK

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lasserafn-php-fik/health.svg)

```
[![Health](https://phpackages.com/badges/lasserafn-php-fik/health.svg)](https://phpackages.com/packages/lasserafn-php-fik)
```

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4174.3M18](/packages/horstoeko-zugferd)[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

138825.5k3](/packages/atgp-factur-x)[num-num/ubl-invoice

A modern object-oriented PHP library to create and read valid UBL and EN 16931/Peppol BIS 3.0 files

135820.5k](/packages/num-num-ubl-invoice)[konekt/pdf-invoice

Library to generate PDF invoices

212200.7k](/packages/konekt-pdf-invoice)[josemmo/einvoicing

Library for reading and creating European-compliant electronic invoices (EN 16931)

173279.6k2](/packages/josemmo-einvoicing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
