Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Identifold for PHP

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.

About

PHP distribution of Identifold logical identifiers.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages