PHPackages                             biigle/ifdo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. biigle/ifdo

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

biigle/ifdo
===========

iFDO Parser Package to parse and validate the iFDO JSON Schema

v1.0.1(1y ago)07.1k↑246.9%2GPL-3.0-onlyPHPPHP ^8.1CI passing

Since Apr 2Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/biigle/ifdo)[ Packagist](https://packagist.org/packages/biigle/ifdo)[ Docs](https://github.com/biigle/ifdo-parser)[ RSS](/packages/biigle-ifdo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (9)Used By (2)

PHP iFDO
========

[](#php-ifdo)

A PHP package to read and validate [iFDO v2 files](https://marine-imaging.com/fair/ifdos/iFDO-overview/).

Installation
------------

[](#installation)

```
composer require biigle/ifdo

```

Usage
-----

[](#usage)

```
use Biigle\Ifdo\Ifdo;

$path = __DIR__ . '/fixtures/ifdo-test-v2.0.0.json';
$obj  = Ifdo::fromFile($path);

// print errors to console if document is no valid
$obj->setDebug(true);

// check if document is valid
$obj->isValid();

// get list of errors if there are any
$obj->getErrors();

// get full json as array
$obj->getJsonData();

// shorthands to safely access info
$obj->getImageSetHeader();
$obj->getImageSetItems();

// use strict mode trigger exceptions for invalid files
$obj = Ifdo::fromString('{"some": "json"}', true);

// get json encoded string
$obj->toString();
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance61

Regular maintenance activity

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~55 days

Total

6

Last Release

557d ago

Major Versions

v0.4.0 → v1.0.02024-09-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2457311?v=4)[Martin Zurowietz](/maintainers/mzur)[@mzur](https://github.com/mzur)

---

Top Contributors

[![mzur](https://avatars.githubusercontent.com/u/2457311?v=4)](https://github.com/mzur "mzur (22 commits)")[![chbach](https://avatars.githubusercontent.com/u/1646184?v=4)](https://github.com/chbach "chbach (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

biigleifdo-parser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biigle-ifdo/health.svg)

```
[![Health](https://phpackages.com/badges/biigle-ifdo/health.svg)](https://phpackages.com/packages/biigle-ifdo)
```

###  Alternatives

[ergebnis/json-normalizer

Provides generic and vendor-specific normalizers for normalizing JSON documents.

8237.5M6](/packages/ergebnis-json-normalizer)[mck89/peast

Peast is PHP library that generates AST for JavaScript code

18934.7M29](/packages/mck89-peast)[wikimedia/parsoid

Parsoid, a bidirectional parser between wikitext and HTML5

171524.3k1](/packages/wikimedia-parsoid)[kherge/json

Encodes, decodes, and validates JSON data.

61226.6k6](/packages/kherge-json)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
