PHPackages                             picturae/genealogy - 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. picturae/genealogy

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

picturae/genealogy
==================

Picturae webkitchen genealogy

0.2.1(9y ago)025MITPHPPHP &gt;=7.0.0

Since Aug 25Pushed 9y ago23 watchersCompare

[ Source](https://github.com/picturae/genealogy)[ Packagist](https://packagist.org/packages/picturae/genealogy)[ RSS](/packages/picturae-genealogy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/efc9b98897bbf1624fa5dec9c5b2aaab88d572e92f39c026779728cb810c3c60/68747470733a2f2f7472617669732d63692e6f72672f70696374757261652f67656e65616c6f67792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/picturae/genealogy)[![Coverage Status](https://camo.githubusercontent.com/e2ec27f32ec002254e7f6361c17ff6f174b1d801c1b9978836c1aca47e68cd2e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70696374757261652f67656e65616c6f67792f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/picturae/genealogy?branch=master)[![Dependency Status](https://camo.githubusercontent.com/f48519728ce19f0cc8ae32c957b9f419c284be6e67d0fd2eb4514e2078643db0/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535646437616335386439633462303031383030303964372f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55dd7ac58d9c4b00180009d7)

Picturae webkitchen genealogy client
====================================

[](#picturae-webkitchen-genealogy-client)

Introduction
------------

[](#introduction)

The genealogy client library is released for third parties who want to integrate a serverside fallback for the genealogy component. This can be used to improve SEO ranking (or) and sharing on social networks as facebook, twitter which do not support javascript.

Currently there is only a PHP implementation but it can serve as an example for implementation in other languages as Javascript / C# / Java etc.

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

[](#installation)

```
composer require picturae/genealogy

```

Usage
-----

[](#usage)

See below the code example for the client

```
$client = new \Picturae\Genealogy\Client('api-key');

// Get a deed
$deed = $client->getDeed($id);
$person = $client->getPerson($id);
$register = $client->getRegister($id);

// Get a result list of deeds
// all parameters are optional
$deed = $client->getDeeds([
    'q' => 'something', // search query
    'rows' => 100,      // amount of rows to return
    'page' => 1,        // page to return
    'facetFields' => [  // facet's to return
        'search_s_place'
    ],
    'fq' => [
        'search_s_place: "Amsterdam"' // apply filter query
    ],
    'sort' => 'search_s_place asc'   // sort result set (default by relevance)
]);

// Get a result list of registers
// all parameters are optional
$deed = $client->getRegisters([
    'q' => 'something', // search query
    'rows' => 100,      // amount of rows to return
    'page' => 1,        // page to return
    'facetFields' => [  // facet's to return
        'search_s_place'
    ],
    'fq' => [
        'search_s_place: "Amsterdam"' // apply filter query
    ],
    'sort' => 'search_s_place asc'   // sort result set (default by relevance)
]);

// Get a result list of persons
// all parameters are optional
$deed = $client->getPersons([
    'q' => 'something', // search query
    'rows' => 100,      // amount of rows to return
    'page' => 1,        // page to return
    'facetFields' => [  // facet's to return
        'search_s_place'
    ],
    'fq' => [
        'search_s_place: "Amsterdam"' // apply filter query
    ],
    'sort' => 'search_s_place asc'   // sort result set (default by relevance)
]);
```

### Serverside fallback

[](#serverside-fallback)

[Full example](examples/serverside-fallback)

```
// If you do not provide a url the current url is used
$url = new \Picturae\Genealogy\URL();

// Check if we are on a permalink of a deed
if ($url->isDeedDetail()) {

    // Get the id for the deed from the URL
    $id = $url->getDeedUUID();

    // Instantiate the client with your API key
    $client = new \Picturae\Genealogy\Client('api-key');

    // Fetch the deed
    $deed = $client->getDeed($id);

    // Check if the deed is returned
    if (!empty($deed) {

        // Add your logic for the fallback
        // e.g add opengraph tags for facebook / twitter
        // or provide a html fallback

    }
}
```

### Sitemap

[](#sitemap)

It's recommended to create a sitemap and submit it to google to improve crawling In the examples folder is a demo how you could implement this.

[Full example](examples/sitemap)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~97 days

Recently: every ~121 days

Total

6

Last Release

3433d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

0.2.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6350acbb7c6c11a081ece3cb610ca52094f1f224491da5cd78cac6aef4f0a99e?d=identicon)[danielsmink](/maintainers/danielsmink)

![](https://www.gravatar.com/avatar/fbeaa436738692ddf6e27586aca3cac18d803896b5b763885efcc1c334e75119?d=identicon)[mech7](/maintainers/mech7)

---

Top Contributors

[![cdekok](https://avatars.githubusercontent.com/u/190633?v=4)](https://github.com/cdekok "cdekok (46 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/picturae-genealogy/health.svg)

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

###  Alternatives

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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