Download the PHP package claudiodekker/word-generator without Composer
On this page you can find all versions of the php package claudiodekker/word-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download claudiodekker/word-generator
More information about claudiodekker/word-generator
Files in claudiodekker/word-generator
Package word-generator
Short Description Generates random words by combining adjectives and nouns
License MIT
Homepage https://github.com/claudiodekker/word-generator
Informations about the package word-generator
Word Generator
Generates creative words by randomly combining adjectives and nouns. This is useful for situations in which you need to generate a name that is unique or memorable.
Installation
To install the package, run the following command:
Usage
It's also possible to use a custom separator character, by passing it as the first argument:
If you need words of a certain length or complexity, you can use the second argument to increase the number of adjectives used:
Custom Word Lists
It is also possible to override the adjectives and nouns that can be used to generate the random phrases. For example, you may wish to do this if you want to use words that are themed or branded to your project.
To override the adjectives and nouns at the same time, you can pass an array of strings for both the first and second parameter:
If you only wish to override the adjectives, you can use the following:
If you only wish to override the nouns, you can use the following:
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.