Search by

greyfoundry / identifold

Identifold 1.0 identifiers for PHP

Maintainers

Package info

github.com/greyfoundry/identifold-php

Homepage

Issues

pkg:composer/greyfoundry/identifold

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.0 2026-08-29 20:19 UTC

This package is auto-updated.

Last update: 2026-08-29 22:08:12 UTC


README

Packagist Languages CI PHP

The Composer package implements the stable Identifold 1.0 MID, PID, and REF wire contract for PHP 8.2 and later.

Install

composer require greyfoundry/identifold:^1.0

Quick start

use Greyfoundry\Identifold\Identifold;

$mid = '019d4c72-c910-7a84-b313-53c3ac61a32f';
$pid = Identifold::publicIdFromMachineId($mid, 'order');
$parsed = Identifold::parsePublicId($pid);

Verification

composer validate --strict
php -d zend.assertions=1 -d assert.exception=1 tests/IdentifoldTest.php

The dependency-free core and JSON adapter are exercised by the complete language-neutral conformance suite. Version 1.0.0 is live through Packagist and the public PHP split repository.