A name generation engine for developers and creative writers enthusiasts.
The NameGenerator is a random name generation engine for developers and creative writers enthusiasts. It allows the creation of names from different types (A French guy, son of a English mother with a Brazilian father) through a set of generators (classes with rules on how to generate random names).
By design, the NameGenerator was designed to be easily extensible and to allow any developer to create his own rules to generate names. It's easy to create new generators, customize and extend the bundle. For more information, check the NameGenerator Documentation.
The NameGenerator requires:
The easiest way is to use compose and install from packagist.
composer require devaneando/name-generator dev-master
Then you need to manually resister the bundle in the
new AppBundle\AppBundle(), + new Devaneando\NameGeneratorBundle\NameGeneratorBundle(),
And add the respective routes to the
app: resource: '@AppBundle/Controller/' type: annotation +name_generator: + resource: "@NameGeneratorBundle/Controller/" + type: annotation + prefix: /api
/apiprefix to any other you want, specially to prevent conflicts