Generate random ancient mythology names using Phony
The
ancient property of the Phony class provides access to several generators for retrieving random names from ancient mythology, categorized by their role (gods, primordials, titans, and heroes).use Phonyland\Phony;
$🙃 = new Phony('en');
$🙃->ancient->god; // e.g., "Ares"
$🙃->ancient->primordial; // e.g., "Phanes"
$🙃->ancient->titan; // e.g., "Mnemosyne"
$🙃->ancient->hero; // e.g., "Icarus"