PHPackages                             byrokrat/byrolint - 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. [CLI &amp; Console](/categories/cli)
4. /
5. byrokrat/byrolint

ActiveProject[CLI &amp; Console](/categories/cli)

byrokrat/byrolint
=================

Command line utility for linting swedish bureaucratic content

1.0.0(5y ago)310GPL-3.0-or-laterPHPPHP ^7.3 || ^8.0

Since Dec 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/byrokrat/byrolint)[ Packagist](https://packagist.org/packages/byrokrat/byrolint)[ Docs](https://github.com/byrokrat/byrolint)[ RSS](/packages/byrokrat-byrolint/feed)WikiDiscussions main Synced today

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

[![byrokrat](res/logo.svg)](res/logo.svg)

byrolint
========

[](#byrolint)

[![Packagist Version](https://camo.githubusercontent.com/105d998e7f9da738cc4dac16fdbe20b44cc486a489d847b25e62b3521e3899a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6279726f6b7261742f6279726f6c696e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/byrokrat/byrolint)[![Build Status](https://camo.githubusercontent.com/d93fb9be33fddad292ae4824e22a67efc86f4c2e3d319d881330867e78747415/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6279726f6b7261742f6279726f6c696e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/github/byrokrat/byrolint)

Command line utility for linting swedish bureaucratic content.

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

[](#installation)

### Using phive (recommended)

[](#using-phive-recommended)

Install using [phive](https://phar.io/):

```
phive install byrokrat/byrolint
```

### As a phar archive

[](#as-a-phar-archive)

Download the latest version from the github [releases](https://github.com/byrokrat/byrolint/releases) page.

Optionally rename `byrolint.phar` to `byrolint` for a smoother experience.

### Using composer

[](#using-composer)

Install as a [composer](https://getcomposer.org/) dependency:

```
composer require byrokrat/byrolint
```

This will make `byrolint` avaliable as `vendor/bin/byrolint`.

### From source

[](#from-source)

To build you need `make`

```
make
sudo make install
```

The build script uses [composer](https://getcomposer.org/) to handle dependencies and [phive](https://phar.io/) to handle build tools. If they are not installed as `composer` or `phive`respectivly you can use something like

```
make COMPOSER_CMD=./composer.phar PHIVE_CMD=./phive.phar
```

Usage
-----

[](#usage)

Linting a regular account number

```
byrolint --account 123456678
```

Linting a personal id number

```
byrolint --personal-id 123456678
```

Check a number using all the linters

```
byrolint 123456678
```

For more information use

```
byrolint --help
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1958d ago

### Community

Maintainers

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

---

Top Contributors

[![hanneskod](https://avatars.githubusercontent.com/u/1369274?v=4)](https://github.com/hanneskod "hanneskod (8 commits)")

---

Tags

PersonnummerPersonal idpersonal identity numberOrganisationsnummerBank accountCorporation idplusgirobankgiro

### Embed Badge

![Health badge](/badges/byrokrat-byrolint/health.svg)

```
[![Health](https://phpackages.com/badges/byrokrat-byrolint/health.svg)](https://phpackages.com/packages/byrokrat-byrolint)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[byrokrat/id

Data types for swedish personal identity and corporation id numbers

1597.7k5](/packages/byrokrat-id)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[personnummer/personnummer

Validate Swedish social security numbers

34739.3k3](/packages/personnummer-personnummer)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)

PHPackages © 2026

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