Skip to content

organisationsnummer/php

Repository files navigation

organisationsnummer

Test

Validate Swedish organization numbers.

Follows version 1.1 of the specification.

Install the package:

composer require organisationsnummer/organisationsnummer

Example

use Organisationsnummer\Organisationsnummer;

Organisationsnummer::valid('202100-5489');
// => true

See OrganisationsnummerTest.php for more examples.

License

MIT