PHPackages                             familytree365/php-dna - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. familytree365/php-dna

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

familytree365/php-dna
=====================

DNA analysis toolkit for PHP 8.3+

v4.0.0(6mo ago)34123MITPHPPHP ^8.3CI passing

Since Mar 10Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/liberu-genealogy/php-dna)[ Packagist](https://packagist.org/packages/familytree365/php-dna)[ Docs](http://github.com/liberu-genealogy/php-dna)[ GitHub Sponsors](https://github.com/liberu-genealogy)[ RSS](/packages/familytree365-php-dna/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (5)Dependencies (7)Versions (58)Used By (0)

php-dna
=======

[](#php-dna)

[![Tests](https://github.com/liberu-genealogy/php-dna/actions/workflows/tests.yml/badge.svg)](https://github.com/liberu-genealogy/php-dna/actions/workflows/tests.yml)

Running MatchKits from the Command Line
---------------------------------------

[](#running-matchkits-from-the-command-line)

To run the MatchKits script from the command line, navigate to the root directory of the php-dna project.

Ensure you have PHP installed on your system. You can check this by running `php -v` in your command line. If PHP is not installed, please install it from the official PHP website.

Execute the script by running the following command: `php src/MatchKits.php`.

The script will prompt you to enter the file paths for Kit 1 and Kit 2. Please enter the full path for each file when prompted.

After entering the file paths, the script will process the data and generate a matched data visualization. The output file named 'matched\_data.png' will be saved in the root directory.

Requirements
------------

[](#requirements)

- php-dna 1.0+ requires PHP 8.3 (or later).
- php-dna 2.0+ requires PHP 8.4 (or later).

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

[](#installation)

There are two ways of installing php-dna.

### Composer

[](#composer)

To install php-dna in your project using composer, simply add the following require line to your project's `composer.json` file:

```
{
    "require": {
        "liberu-genealogy/php-dna": "1.0.*"
    }
}

```

### Download and \_\_autoload

[](#download-and-__autoload)

If you are not using composer, you can download an archive of the source from GitHub and extract it into your project. You'll need to setup an autoloader for the files, unless you go through the painstaking process if requiring all the needed files one-by-one. Something like the following should suffice:

```
spl_autoload_register(function ($class) {
    $pathToDna = __DIR__ . '/library/'; // TODO FIXME

    if (!substr(ltrim($class, '\\'), 0, 7) == 'Dna\\') {
        return;
    }

    $class = str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
    if (file_exists($pathToDna . $class)) {
        require_once($pathToDna . $class);
    }
});
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance70

Regular maintenance activity

Popularity15

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~175 days

Total

5

Last Release

184d ago

Major Versions

v1.0.1 → v2.0.02025-03-22

v2.0.0 → v3.0.02025-09-07

v3.0.0 → v4.0.02026-02-15

PHP version history (3 changes)v1.0.0PHP &gt;=8.3

v2.0.0PHP ^8.4

v4.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/179251?v=4)[Curtis Delicata](/maintainers/curtisdelicata)[@curtisdelicata](https://github.com/curtisdelicata)

---

Top Contributors

[![JoshKisb](https://avatars.githubusercontent.com/u/7253780?v=4)](https://github.com/JoshKisb "JoshKisb (149 commits)")[![sweep-ai-deprecated[bot]](https://avatars.githubusercontent.com/in/307814?v=4)](https://github.com/sweep-ai-deprecated[bot] "sweep-ai-deprecated[bot] (72 commits)")[![curtisdelicata](https://avatars.githubusercontent.com/u/179251?v=4)](https://github.com/curtisdelicata "curtisdelicata (64 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (33 commits)")[![delicatacurtis](https://avatars.githubusercontent.com/u/247246500?v=4)](https://github.com/delicatacurtis "delicatacurtis (7 commits)")[![timeisgolden](https://avatars.githubusercontent.com/u/54345950?v=4)](https://github.com/timeisgolden "timeisgolden (5 commits)")

---

Tags

dnadna-processinglaravellaravel10phpphp8genealogydnabioinformaticsgenotype

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/familytree365-php-dna/health.svg)

```
[![Health](https://phpackages.com/badges/familytree365-php-dna/health.svg)](https://phpackages.com/packages/familytree365-php-dna)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

24.3k69.5k](/packages/grumpydictator-firefly-iii)[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

762297.9k53](/packages/civicrm-civicrm-core)[oat-sa/tao-core

TAO core extension

64147.9k151](/packages/oat-sa-tao-core)[firefly-iii/data-importer

Firefly III Data Import Tool.

8165.8k](/packages/firefly-iii-data-importer)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)

PHPackages © 2026

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