gpor/famtree

Simple, 1 layer family tree diagram

dev-master 2017-11-21 04:01 UTC

This package is not auto-updated.

Last update: 2025-05-04 16:20:06 UTC


README

{!! \Gpor\Famtree\Factory::instance(array:4 [▼ "name" => "PersonKevin Test" "record" => Person {#612 ▶} "rel_type" => "client" "children" => array:10 [▼ 0 => array:4 [▼ "name" => "PersonTom Dcode" "record" => Person {#678 ▶} "rel_type" => "parent" "children" => array:1 [▶] ] 1 => array:4 [▼ "name" => "Nina Person" "record" => Person {#867 ▶} "rel_type" => "partner" "children" => [] ] 2 => array:4 [▼ "name" => "PersonA PersonA" "record" => Person {#961 ▶} "rel_type" => "parent" "children" => [] ] 3 => array:4 [▶] 4 => array:4 [▼ "name" => "Bart Person" "record" => Person {#1244 ▶} "rel_type" => "child" "children" => [] ] 5 => array:4 [▼ "name" => "Kevin's Sister Person" "record" => Person {#1338 ▶} "rel_type" => "sibling" "children" => [] ] 6 => array:4 [▼ "name" => "Kevin's brother Person" "record" => Person {#1432 ▶} "rel_type" => "sibling" "children" => [] ] 7 => array:4 [▶] 8 => array:4 [▼ "name" => "Another Kid" "record" => Person {#1620 ▶} "rel_type" => "child" "children" => [] ] 9 => array:4 [▼ "name" => "Another Sibling!!" "record" => Person {#1714 ▶} "rel_type" => "sibling" "children" => [] ] ] ]) !!}