Command line utility for linting swedish bureaucratic content.
Install using phive:
phive install byrokrat/byrolint
Download the latest version from the github releases page.
Optionally rename byrolint.phar
to byrolint
for a smoother experience.
Install as a composer dependency:
composer require byrokrat/byrolint
This will make byrolint
avaliable as vendor/bin/byrolint
.
To build you need make
make
sudo make install
The build script uses composer to handle dependencies and phive 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
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