Validate Swedish organization numbers.
Follows version 1.1 of the specification.
Install the package:
composer require organisationsnummer/organisationsnummer
use Organisationsnummer\Organisationsnummer;
Organisationsnummer::valid('202100-5489');
// => trueSee OrganisationsnummerTest.php for more examples.
Fredrik "Frozzare" Forsmo (1991-2026) was the initiator, co-founder and a core contributor of the organisationsnummer project. This library carries his work. He is missed.
MIT