Search for a person X Y born in year Z in mazowieckie region:
php -a
Then in PHP interactive shell:
require 'functions.php';
var_dump(geneteka_search(['name' => 'X', surname' => 'Y', 'record_type' => 'birth', 'from' => 'Z', 'to' => 'Z', 'region' => 'mazowieckie']));
or for all regions
require 'functions.php';
var_dump(geneteka_find_person('X', 'Y', 'birth', options: [ 'from' => 'Z', 'to' => 'Z' ]));