byrokrat / byrolint
Command line utility for linting swedish bureaucratic content
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3 || ^8.0
- ext-bcmath: *
- ext-mbstring: *
- ext-simplexml: *
- byrokrat/banking: ^2.2
- byrokrat/id: ^2.1
- symfony/console: ^5
Requires (Dev)
- roave/security-advisories: dev-latest
README
byrolint
Command line utility for linting swedish bureaucratic content.
Installation
Using phive (recommended)
Install using phive:
phive install byrokrat/byrolint
As a phar archive
Download the latest version from the github releases page.
Optionally rename byrolint.phar
to byrolint
for a smoother experience.
Using composer
Install as a composer dependency:
composer require byrokrat/byrolint
This will make byrolint
avaliable as vendor/bin/byrolint
.
From source
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
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