Skip to content

omnistate/matchid API reference

Floor
Provider · Omnistate
Version
1.x
Conformance suite
runs, no CI read
Verified for real
Its README does not say
Licence
MIT
composer require omnistate/matchid:1.x-dev

Read from the package's own PHP files at the commit 754bc4c286cf: its namespaces, classes, interfaces and enums, their public constants, properties and methods with their PHPDoc, and the options its factories take. Nothing of it is run.

Omnistate\MatchId

  • MatchId class

    France's deaths since 1970: INSEE's file of deceased persons, searched through matchID (deces.matchid.io, run by the French Ministry of the Interior). One record per death: the names, the sex, the date and place of birth, the date and place of death, the act's number. No picture of the act: the file is an index, the act itself is at the town hall.

    9 methods · 2 constants

Omnistate\MatchId

MatchId class

final class MatchId implements CivilRegistryInterface MatchId.php:32

France's deaths since 1970: INSEE's file of deceased persons, searched through matchID (deces.matchid.io, run by the French Ministry of the Interior). One record per death: the names, the sex, the date and place of birth, the date and place of death, the act's number. No picture of the act: the file is an index, the act itself is at the town hall.

Free, no key. A token (an account at deces.matchid.io) raises the quota; it is sent as "Authorization: Bearer".

const URL = 'https://deces.matchid.io/deces/api/v1'
const PAGE = 'https://deces.matchid.io/id/'

A record's page on matchID's own site.

MatchId::__construct()

public function __construct(readonly HttpClientInterface $http, readonly ?string $token = null, readonly float $timeout = 10, readonly string $url = self::URL)

MatchId::name()

public function name(): string

MatchId::countries()

public function countries(): array

MatchId::kinds()

public function kinds(): array

MatchId::period()

public function period(): ?Period

MatchId::hasImages()

public function hasImages(): bool

MatchId::supports()

public function supports(CivilQuery $query): bool

A name at least: the file is not browsed by date alone here. Deaths before 1970 are not in it.

public function search(CivilQuery $query): array

MatchId::find()

public function find(string $identifier): ?CivilRecord