PHPackages                             liberu-genealogy/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. liberu-genealogy/php-dna

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

liberu-genealogy/php-dna
========================

DNA analysis toolkit for PHP 8.3+

v4.0.0(2mo ago)334.3k↓40%231MITPHPPHP ^8.3CI passing

Since Mar 10Pushed 2mo ago3 watchersCompare

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

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

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

57

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity70

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

87d 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/liberu-genealogy-php-dna/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[civicrm/civicrm-core

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

728272.9k20](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[fisharebest/webtrees

webtrees online genealogy

73710.5k13](/packages/fisharebest-webtrees)

PHPackages © 2026

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