Library in PHP with all kind of generators