Search by

c975l / genealogy-bundle

LaurentMarquet

Symfony bundle for a family tree on the c975L core — the GEDCOM exported by the genealogy software imported as people, families, events, places and media, each member's own family at a glance, person sheets and a printable book redone only when its data changes. The tree itself stays in the genealog

Package info

github.com/975L/GenealogyBundle

Type:symfony-bundle

pkg:composer/c975l/genealogy-bundle

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.0 2026-12-01 22:48 UTC

This package is auto-updated.

Last update: 2026-12-01 22:48:45 UTC


README

GitHub Packagist Version PHP Version

GenealogyBundle

Your family tree on your site, read from the GEDCOM your genealogy software exports: no static export to upload, no copy to keep in step by hand.

Bundle page · Tutorials · Live demo · Demo back-office

Watch the GenealogyBundle film

▶ Watch the film · GenealogyBundle's page

BUNDLE UNDER DEVELOPMENT — USE AT YOUR OWN RISK

TL;DR — GenealogyBundle imports the GEDCOM exported by Gramps (or any genealogy software writing GEDCOM 5.5.1) as people, families, events, places and media, kept under the ids of the software so that whatever points to a person survives the next import. The tree itself stays in the software. It rests on CoreBundle; install it with Composer, then follow the installation steps.

What you get

  • The GEDCOM sent from the back office or the console becomes the tree of the site, an identical file changing nothing
  • People, families, events, places with their coordinates, media and their transcriptions, the sources each cites, the links and godparents of a person
  • Records kept under the ids of the genealogy software (I0001), a person the file no longer holds being removed
  • The header of the file (the submitter's address, phone, email) never read; the address of an event read for the members only, its city becoming its place when no PLAC names one
  • Person sheets, a « My sheet » block leading each member to theirs, an ancestor wheel and a printable book per person, its photos and documents with their thumbnails
  • A search of the people, a tree around each person drawn on the site, and a yearly calendar of the births, marriages and deaths for an agenda application
  • Facts and stories about the people, written on the site, shown on their sheet
  • News of what was added to the genealogy, one written by each import that brings new people or documents
  • A people search block and the members' pages offered to menus and cards, to compose the members' home page

Quick start

composer require c975l/genealogy-bundle

Then follow the full installation section below.

For AI agents

  • Skills, read straight from vendor/c975l/genealogy-bundle/skills/ by a coding agent (see AI agent skills):
    • c975l-genealogy — the import, the entities and the rules an agent must keep about ids, addresses and transcriptions

Reference

For developers — GedcomStore::replace() keeps a new GEDCOM and imports it, GedcomImporter::import() brings a file into the database, GedcomParser reads it into GedcomNode records, GedcomDate::parse() reads a GEDCOM date. A person is named by Person::getXref(), never by its database id.

Contents

Why GenealogyBundle

Add GenealogyBundle on top of the shared CoreBundle foundation when a site shows a family tree kept in a genealogy software. The usual way, a static web export of the software uploaded after each change, weighs gigabytes, cannot be searched or cached by the site, and knows nothing of its members. Here the site reads the GEDCOM itself: one file to send, and the pages are the site's own.

Tip

If this project helps you save development time:

And if you'd like to support the work directly, the Sponsor button at the top of the GitHub page is there for that. Thank you!

Features

  • A GEDCOM 5.5.1 read line by line (GedcomParser), its CONC and CONT continuations folded and its @@ unescaped, whatever its line ends, byte order mark or encoding (UTF-8, UTF-16, ANSI), an ANSEL file refused with a message asking to export it again in UTF-8
  • The header, the submitter and the trailer left out: they describe whoever wrote the file, never the tree
  • People (Person): given names and surname, sex, life span, the family they are a child of, their notes and media
  • Families (Family): the couple, the children and the events of the union (marriage, divorce...)
  • Events (Event): their kind (the GEDCOM tag), their date as written and read by GedcomDate into a sortable key and a qualifier (about, before, between...), their place and value (the occupation of an OCCU), in the order the software wrote them
  • Places (Place): once whatever the number of events held there or the case and accents they are written with, with the coordinates of the file, a place nobody uses any more removed
  • Media (Media): a path kept from the media folder on, a title, and the note of the media, which is the transcription of a scanned record
  • Ids kept as the software writes them, case included (I1 and i1 are two people, the xref columns in utf8mb4_bin), any but a slash or an at sign accepted by the routes (Person::XREF_REQUIREMENT)
  • An import that updates each record under its id rather than emptying the tables, and removes what the file no longer holds (GedcomImporter), recorded with the file's sha256 (ImportLog)
  • A person's sheet (/personne/{xref}): life span, occupations, events with their dates in the reader's language, notes, close family and records, cached until the next import
  • The blocks of the bundle take a title and a text introducing them (content, rich text), read as one section.
  • Block « My sheet » (genealogy_me): the link to the member's sheet and to the tree centred on them once their account is tied to who they are in the tree (Account), by themselves or an administrator, the search where they find themselves otherwise, the tie erased with the account (UserAnonymizedEvent)
  • An ancestor wheel as a printable vector PDF, as one poster or as overlapping A4 sheets with an assembly plan (WheelPdf), see ancestor wheel
  • The reliability of a person's ancestors, generation after generation, from the sources the GEDCOM cites, with the dates to check, see reliability
  • A printable book per person (/livre/{xref}): full sheet with photos, descendants and ancestors told over seven generations, every ancestor listed, drawn once then kept until the tree changes what it shows, see book
  • An index of the surnames (/noms) and of the places by first letter under their map (/lieux, UiBundle's map), each place with who was born, married or died there
  • A search of the people by their names or id, and of the documents by their name, every word found whatever its accents or case (/recherche, PersonSearch, SearchText)
  • A tree around each person on a page of its own (/arbre/{xref}), opened from every sheet and the block « My sheet »: three generations of ancestors above, spouses beside, children and grandchildren below, drawn on the server as an SVG (HourglassLayout) scrolled sideways on a phone and fitting the page on a wide screen, the given names, surname and years on three lines, each box opening the tree around its person, an arrow above or below where it goes on, with no script nor library
  • A calendar of the births, marriages and deaths of a known day, every year, for an agenda application to subscribe to (/agenda/{token}.ics, TreeCalendar)
  • Facts (Fact): notable facts and stories written on the back office about a person, kept by their id in the genealogy software, shown on their sheet, offered to UiBundle's « collection » block whole (genealogy.facts) or as the date of the latest (genealogy.facts_latest)
  • News (NewsItem): dated lines of what was added to the genealogy, written on the back office or by an import bringing new people or documents, offered to UiBundle's « collection » block (genealogy.news)
  • Block « Search in the tree » (genealogy_search) and the members' pages (Explore, surnames, places, search) offered as targets of menus and cards (LinkableRouteProviderInterface)
  • MCP tools (ConfigBundle's McpToolProviderInterface): the people searched and read, the media listed with their transcriptions and people, the last import, the ties between accounts and sheets read and written, the facts and the news listed, read, added and written, the documents and the saves read
  • The media files served to members from a folder outside the public one, their thumbnails drawn once by Imagick and kept under the fingerprint of their file, see media and thumbnails
  • The documents of the media folder browsed by folder and searched by name, with their transcription and people, and the saves of the genealogy software downloaded, see documents
  • A demo dataset (UiBundle's DemoFixtureProviderInterface): a fictional family over four generations, read from config/demo/tree.ged the way a real GEDCOM is imported
  • Four back-office screens contributed to the EasyAdmin dashboard (MenuProviderInterface): the GEDCOM sent with the last imports beside it, the facts, the news, and the accounts tied to their sheets
  • Guided projects (GuidedProjectProviderInterface): importing the tree, tying an account to its sheet, writing a fact, announcing a news
  • Its own genealogy translation catalogue, in English, French and Spanish
  • A skill for coding agents, shipped in the package and read straight from vendor/ — see AI agent skills

Requirements

  • PHP >= 8.4, Symfony 8
  • c975L/CoreBundle — ConfigBundle and UiBundle in one package: the dashboard, the configuration, the user accounts, the PDF engine of the book
  • The imagick extension for the thumbnails (with Ghostscript for those of PDF files): without it, the pages and the book show the titles alone

Installation

Download

composer require c975l/genealogy-bundle

Run migrations

php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

The tables: genealogy_person, genealogy_family, genealogy_event, genealogy_place, genealogy_media, genealogy_person_media, genealogy_family_media, genealogy_import_log, genealogy_account, genealogy_fact and genealogy_news_item.

Routes

The members' pages are attribute routes, imported once:

# config/routes/c975l_genealogy.yaml
c975_l_genealogy:
    resource: "@c975LGenealogyBundle/src/Controller/"
    type: attribute

The back-office screens under src/Controller/Management/ carry #[AdminRoute], read by EasyAdmin alone: this import does not declare them a second time.

Nothing to register by hand

The bundle is auto-configured: its back-office screen, guided project and configuration key are picked up by CoreBundle.

Importing the tree

Export the tree as GEDCOM 5.5.1 from any genealogy software, then send it one of three ways, all ending in the same import:

  • the back office (Genealogy › Tree (GEDCOM)), or the console php bin/console c975l:genealogy:import path/to/tree.ged;
  • by FTP into private/medias/genealogy/inbox/: c975l:genealogy:prepare, scheduled every ten minutes (GenealogyMaintenanceTaskProvider), imports the latest .ged or .zip dropped there once left untouched for two minutes (a file still arriving is never read half written), then removes it with the older ones, a file arrived meanwhile kept for the next run; a file it refuses is set aside as .refused;
  • the MCP tool genealogy_import (site-role-admin), the file given whole as text.

Once a new tree is imported, whichever way, the same c975l:genealogy:prepare (doing nothing until the next drop or import, never twice at once) draws the missing thumbnails then the members' books; --all runs the same pass by hand without waiting for an import. Both are kept in private/medias/genealogy/vignettes and livres, declared to the backups with the GEDCOM, the media and the saves.

The media files the GEDCOM points to go into the media folder (private/medias/genealogy/medias by default), sent by FTP under the paths the GEDCOM gives, or carried with it in a GEDZIP (the zip GEDCOM 7 defines: gedcom.ged and its media), accepted wherever a GEDCOM is (back office, inbox, console): GedzipReader writes each picture, document, sound, video or transcription where its media will look for it once the GEDCOM is imported (a refused GEDZIP writes nothing), a file of the same size and checksum left alone, nothing else and nothing outside that folder. A relative media path is kept whole, an absolute one from the genealogy-media-root folder on; a path in sub-folders missing from the media folder is read by its file name, for a folder kept flat.

The file is imported from a copy of its own, then kept in private/medias/genealogy/gedcom/tree.ged (declared to the backups by GenealogyBackupPathProvider): a file that is no GEDCOM or holds nobody is refused, and an import that fails leaves both the database and the file as they were. One import runs at a time (symfony/lock). Run without a file, the command imports again the one kept; --force imports even a file identical to the last one; a new genealogy-media-root counts as a change.

A person is updated under its id in the software at each import: whatever points to I0001 keeps pointing to them. A person the file no longer holds is removed.

What is read

GEDCOM Kept
INDI NAME (GIVN/SURN, or Given /Surname/), SEX, the events of a life (Gramps' _MILT and _MDCL and PROP among them), NOTE, SOUR, OBJE (those of its citations too), WWW (http(s) only), ASSO with its RELA, the first FAMC
FAM HUSB, WIFE, CHIL, the events of a union, SOUR, OBJE
Events DATE, PLAC and its MAP, ADDR (ADR1 to ADR3 and POST as the address, CITY and CTRY as the place when no PLAC names one, its lines otherwise), their value, the TYPE of a custom EVEN, FACT, _MILT or _MDCL, their SOUR; a residence (RESI) no value, its TYPE holding the address in some software
OBJE FILE from the media folder on, TITL, NOTE
SOUR the record: TITL, PUBL, NOTE (Source); a citation pointing to it: its PAGE and NOTE, kept on the person, family or event citing it
NOTE read where a record points to it
HEAD, SUBM, SUBN, TRLR never

The media folder is named by genealogy-media-root (Medias by default): /home/me/tree/Medias/Photos/a.jpg is kept as Photos/a.jpg.

Members' pages

Route Path What
genealogy_person /personne/{xref} a person's sheet: life span and occupations, events, notes, parents, grandparents, brothers and sisters, unions and their children, grandchildren, records, the wheel's links
genealogy_my_sheet /ma-fiche the member's own sheet, for a menu link: their sheet once tied, the search of the block « My sheet » otherwise or with ?changer=1
genealogy_claim /qui-suis-je (POST) the member says who they are from « My sheet », then lands on their sheet
genealogy_tree /arbre/{xref} the tree around the person as an SVG at its own size, centred on the person and moved by dragging its background, each box opening the tree around its own person, linked from every sheet and the block « My sheet »
genealogy_tree_preview /arbre/{xref}/apercu.svg the same tree drawn small, without names, shown among the documents of the sheet
genealogy_surnames, genealogy_surname /noms, /noms/{surname} every surname by its first letter, then the people bearing one
genealogy_places, genealogy_place /lieux, /lieu/{id} the located places on UiBundle's map then their list, and what happened in one place, linked from the sheets
genealogy_search /recherche?q= the people whose names or id hold every word given, 100 at most, under the search field proposing them as the member types
genealogy_person_pdf /personne/{xref}/pdf the sheet alone as a PDF, the sheet part of the book, kept beside the books (fiche-{xref}-{fingerprint}.pdf) and shown with its preview among the documents drawn
genealogy_explore /explorer the search, the letters of the surnames, the map and the letters of the places on one page

They all need ROLE_USER. A sheet depends on the tree alone and is cached per person and language under the genealogy_tree tag, dropped by the next import (TreeCacheInvalidator); the block « My sheet » depends on the member and is never cached.

The block « My sheet » (genealogy_me, placed on the home page for instance) or the menu link genealogy_my_sheet (/ma-fiche, drawing the same search on a page of its own) leads a member to their sheet once their account is tied to who they are in the tree. A member not tied yet searches their name there (?qui=) and picks their sheet (genealogy_claim, a POST with its CSRF token), then lands on it. A member not found in the tree is offered the site's contact page when genealogy-contact-url holds its address. The block, and the member's own sheet, say which sheet the account is tied to, with « Not you? Change » (?changer=1) bringing the same search back to pick another; an administrator can still set or change the tie on the back office (Genealogy › Accounts and sheets). On a private site, check CoreBundle's site-registration-approval so that every account is approved first. The tie is kept by the account's id and the person's id in the genealogy software, so a new import keeps it; it is erased when the account is anonymized or deleted.

Ancestor wheel

A vector PDF drawn by the bundle from any person, with no dependency (WheelPdf): each ancestor gets an angle proportional to the branches known above them, weighted by 0.85 per generation; each grandparent has its own colour and lines separate the branches. The text never goes below about 6 pt once printed.

Route Path What
genealogy_chart_wheel /roue/{xref} one A4 page when the wheel holds there with its smallest text at 1.6 mm (about 4.5 pt) at least, reduced only as much as needed; otherwise one poster page at actual size, cropped to the drawing
genealogy_chart_wheel_sheets /roue/{xref}/a4 only for a wheel too large for one A4 page (its button left out otherwise, genealogy_wheel_needs_sheets()): overlapping A4 sheets with an assembly plan, portrait or landscape whichever needs fewer sheets, trimmed top and left, grey glue strips

Both need ROLE_USER and are kept as PDF beside the books (WheelStore, private/medias/genealogy/livres/roue-{xref}-… and roue-a4-{xref}-…), named after the last import: drawn ahead for every person by c975l:genealogy:books, the first time they are asked for otherwise, the previous one removed. The sheet shows them, with the book, as buttons carrying their first page as a WebP (PreviewStore, served by genealogy_chart_preview on /apercu/{roue|roue-a4|livre|fiche}/{xref}), drawn ahead for every person of the tree by c975l:genealogy:books (run by the preparation after each import), the first time they are asked for otherwise, and kept in private/medias/genealogy/vignettes/apercus; the book's is drawn from its cover alone, whether the book itself is drawn or not. The texts are written in WinAnsi (standard Helvetica): French and Spanish accents, quotes, dashes, « × » and « · » pass, nothing outside Latin-1.

Reliability

genealogy_reliability (/fiabilite/{xref}, ROLE_USER, reached by its address and the MCP tool) lists the ancestors of a person generation after generation, each marked by the GEDCOM alone (AncestorReliability): proven when a citation of their sheet, their events, their unions or the events of these carries a scan or the highest certainty (QUAY 3), sourced by any other citation, unsourced otherwise. A table gives per generation how many are known out of those possible and the share proven; the dates to check close the page (death before birth, a life over 110 years, a parent under 14 or a mother over 55 at the birth of the child the line goes through, a child born after the death of their mother, or more than a year after their father's). The page is cached until the next import.

Facts

A fact (Fact, back office › Genealogy › Notable facts, site-role-editor) tells something about a person: the name as it is to show, the person's id in the genealogy software, the fact itself, and how they relate to the root of the tree. Written on the site rather than in the genealogy software, it is kept from one import to the next by that id.

It shows on the person's sheet (« Stories »). A page composed in the back office shows them with UiBundle's « collection » block: genealogy.facts for a members' page, genealogy.facts_latest (the date alone) for a public one. FactCacheListener drops the genealogy_facts cache tag at each change.

News

A news (NewsItem, back office › Genealogy › News, site-role-editor) is one dated line of what was added to the genealogy, with an optional link to where it is seen. An import that brings new people or documents writes its own, dated of the day (« 12 people added to the tree ; 3 photos and documents added »); one bringing nothing new writes none. A page shows them with UiBundle's « collection » block, source genealogy.news, the latest first; NewsCacheListener drops the genealogy_news cache tag at each change.

Home page blocks

The members' home page is composed in the back office from what the bundle offers:

  • the block « Search in the tree » (genealogy_search), the Live component c975LGenealogy:PersonSearch proposing ten people from three characters on and sent to /recherche, drawn for members only and never cached (the site keeps /_components behind ROLE_USER; the component proposes nobody to a visitor not signed in anyway);
  • the block « Today in the family » (genealogy_today), the births, marriages and deaths of today's date;
  • the blocks « Documents » (genealogy_documents), « Featured documents » (genealogy_featured_documents) and « Saves and exports » (genealogy_exports), see documents;
  • the members' pages as targets of a card, a button or a menu link: Explore, surnames, places, search, agenda, documents (LinkableRouteProvider);
  • the collection sources genealogy.news and genealogy.facts, named in the ui domain the bundle adds keys to.

Calendar

/explorer (genealogy_explore, ROLE_USER) gathers the ways into the tree on one page: the people search, the letters of the surnames, the map of the places and their letters, each part left out when it holds nothing; the documents have their own page.

The events are coloured by what they are, on the sheets, the places, the agenda and the block of the day: births (--genealogy-birth), unions (--genealogy-union) and deaths (--genealogy-death), three custom properties a site overrides in its own stylesheet.

/agenda (genealogy_agenda, ROLE_USER) lays the births, marriages and deaths out as a month calendar (AgendaView, weeks from Monday, three events a day and the others folded under how many more), at the month of the date given (?date=YYYY-MM-DD, today by default; ?mois=N still opens that month). The grid is styled by the bundle's own stylesheet (StylesheetProvider, public/css/styles.min.css from sass/): a phone reads the days holding events as a list. Under it, the address to subscribe to with how to add it to Google Calendar, an iPhone, a Mac, Outlook or Thunderbird. The block « Today in the family » (genealogy_today) puts those of today's date on a page, for members only, nothing at all on a day without any, with a button to the agenda.

/agenda/{token}.ics (genealogy_calendar) answers the token set in genealogy-calendar-token, compared in constant time; empty, it publishes nothing. An agenda application such as Google Calendar subscribes to that address: every birth, marriage and death of a known day comes back each year, « Birth MARTIN Louis (1950) », with its place and the addresses of the sheets it concerns.

MCP tools

Tool What Role
genealogy_person_search the people whose names or id hold every word site-role-editor
genealogy_reliability the ancestors of a person by generation with their level (proven, sourced, unsourced), the counts per generation and the dates to check site-role-editor
genealogy_agenda the births, marriages and deaths of a month (1-12) of any year, or of one day of it, with their people site-role-editor
genealogy_person_get a person: events, parents, unions and children, notes, media and transcriptions site-role-editor
genealogy_surname_list, genealogy_place_list the surnames with their counts, the places with their coordinates and events site-role-editor
genealogy_media_list the media, 50 a page, with their transcription and the people they are attached to, or only those not transcribed yet site-role-editor
genealogy_import_status when the tree was last imported and what it holds site-role-editor
genealogy_account_list, genealogy_account_set the accounts tied to their sheets, and a tie set site-role-admin
genealogy_import a GEDCOM given as text imported as on the back office site-role-admin
fact_list, fact_get, fact_create, fact_edit the facts, listed, read, added, written; deleting stays a human's site-role-editor
news_list, news_get, news_create, news_edit the news, listed, read, added, written; deleting stays a human's site-role-editor
genealogy_document_list, genealogy_document_get, genealogy_export_list the folders of documents, their documents or those a name finds, a document with its transcription, the saves site-role-editor

The tree itself is never written by a tool: a correction goes into the genealogy software, then a new import. Nor are the documents: a file is added on the server.

Media and thumbnails

The media files stay where the server keeps them, outside the public folder: genealogy-media-folder (relative to the project, or absolute, private/medias/genealogy/medias by default) holds what the GEDCOM paths point to (Photos/a.jpg), and MediaFiles resolves a path under it and nowhere else.

Route Path What
genealogy_media_file /document/{path} a media file opened by a member (ROLE_USER), kept privately by their browser for an hour
genealogy_media_thumbnail /vignette/{path} its thumbnail, behind the signature genealogy_thumbnail_url() puts on the page rather than the session, so that a page of many thumbnails does not load the member once for each

A thumbnail (ThumbnailStore) is a WebP 400 pixels wide, the first page of a PDF or the picture turned upright, named after the fingerprint of its file (path, size, date): drawn the first time it is asked for, served as it is afterwards, drawn again under another name once the file changes. bin/console c975l:genealogy:thumbnails draws ahead the missing ones, those of the media of the tree and of the documents, and removes those neither leads to any more, the JPEG ones drawn before the WebP ones included: run it after an import or after files are added.

Documents

Members browse the media folder itself, whether or not the GEDCOM names its files: each folder right under it holding documents (a picture or a PDF, an svg never) is a shelf, a folder holding only folders or starting with a dot none (DocumentLibrary).

Route Path What
genealogy_documents /documents the folders and the search by a part of the name across all of them, 60 found at most
genealogy_document_folder /documents/{folder} the documents of a folder, written in any case, 30 a page growing as the member scrolls, and the search inside it
genealogy_document /documents/{folder}/{name} a document: its thumbnail and file, the documents before and after it, the people of the tree it is attached to, its transcription
genealogy_export /sauvegarde/{name} a save of the exports folder, downloaded, a PDF report opened in place

All are ROLE_USER and never kept by the browser, the saves privately for an hour. The transcription is the note written on the media in the genealogy software, otherwise a text file beside the document under the same name; a second scan whose name ends with one more part (item-1-Copy.jpg) shares the one of the first (item-1.txt).

genealogy-exports-folder (relative to the project, or absolute, private/medias/genealogy/sauvegardes by default) names the folder the genealogy software's saves and exports are sent to, by FTP like the media, and the bundle offers whatever it finds there: only its files with the extension of a save (ged, gramps, gpkg, csv, pdf, vcs, ics, zip) are offered, never a database copy left beside them.

Three blocks place them on a page, each drawn for members only and never cached: « Documents » (genealogy_documents) the search showing the documents found as the member types, then the folders each opening its listing, « Featured documents » (genealogy_featured_documents) documents given by their path with a caption, « Saves and exports » (genealogy_exports) the saves as large download buttons with their use, size and day, nothing at all without any.

Book

/livre/{xref} (genealogy_book, ROLE_USER) hands over a person's book as a PDF: a cover, their full sheet with their photos and documents, their descendants then their ancestors told generation after generation over seven generations, and every known ancestor listed by Sosa number.

The cover is composed in the back office as the shared block genealogy-book-cover (text, pictures): its pictures are inlined as JPEG, the person's name, years, the date of the tree and the day the book was made added under it; without that shared block the book's own title stands in. The guided project « Compose the cover of the books » walks an editor through creating it under that exact name.

BookBuilder renders the book as HTML (@c975LGenealogy/book/book.html.twig), its sentences written by BookNarrator in the genealogy_book catalogue (ICU, in the person's grammatical gender); UiBundle's PdfGeneratorInterface turns it into a PDF, WeasyPrint where the server has it, Dompdf otherwise (ui-pdf-engine). BookStore keeps it in private/medias/genealogy/livres/, out of the cache and of public/, named after the fingerprint of its HTML, the day it is made left out: a book is drawn once, served as it is until the tree, the cover or the layout changes what it shows, the earlier one of the person removed. Its fingerprint, like the cover's and the sheet's, is cached under the genealogy_tree tag and the tags of the cover's blocks, so that opening a book drawn already renders nothing; the PDF themselves stay in the private folder, backed up. A drawing killed by PHP (time limit, memory) shows as failed on the waiting page, with its retry button.

A book not drawn yet answers a waiting page that reloads itself every second (Refresh header, no JavaScript) and shows the step reached (tree, texts, PDF); the book is drawn once that page has left (kernel.terminate), and the same address hands it over when it is ready. A failed drawing shows a button to try again (genealogy_book_retry). One drawing per person at a time (symfony/lock); a book of several hundred ancestors takes about ten seconds with WeasyPrint, seven with Dompdf.

c975l:genealogy:books draws ahead the books of every person of the tree, a member exploring the sheets of the others too, the people the members' accounts are tied to first, only those whose tree changed: run it after an import, by cron or a scheduled task, so that a member's first click opens their book at once. The thumbnails are drawn beforehand by c975l:genealogy:thumbnails.

Translations

The bundle speaks English, French and Spanish in its genealogy domain, the narrations of its guided project in genealogy_narration, the sentences of the book in genealogy_book (ICU).

Guided projects

Project Steps
Import the tree open the screen, pick the file, import, read what it brought
Tie an account to its sheet add a tie, pick the account, pick the person, save
Write a fact add a fact, name the person, pick their sheet, tell the fact, save
Announce a news add a news, say what was added, link where it is seen, save

What this bundle deliberately does not contribute

Point Why not
Editing the tree the tree is edited in the genealogy software, the database being a copy of its GEDCOM
Maintenance task an import is the user's, after an export
Sitemap, feeds a family tree is private
Content translation names and places are the tree's own

AI agent skills

The package ships a skill of its own, skills/c975l-genealogy/SKILL.md, written for the coding agent of the site installing this bundle rather than for someone modifying it. Point your agent at it:

vendor/c975l/genealogy-bundle/skills/

Nothing is installed, nothing is copied into your project: the file sits in vendor/ like any other part of the package and follows it at each composer update. A user of Claude Code wanting it to load by itself symlinks it into their own skills directory:

ln -s ../../vendor/c975l/genealogy-bundle/skills/c975l-genealogy .claude/skills/c975l-genealogy

Tests\SkillsTest keeps the file honest: every path, route, config slug, command and class member it quotes is checked against the sources.