phpjerk / gender-neutral
Make your text gender neutral so people don't get their panties in a bunch. (and yes, men can wear panties too!)
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/phpjerk/gender-neutral
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-12-30 11:51:52 UTC
README
PHPJerk's Gender Neutral Library v1
Simple library that takes your text and removes all gender specific pronouns.
Install
Open up that composer.json and drop this
"phpjerk/gender-neutral": "dev-master"
Usage
$nu = new Phpjerk\GenderNeutral\GenderNeutral; $text = "Read errors are reported only if nsent==0, otherwise we return nsent. The user needs to know that some data has already been sent, to stop him from sending it twice."; echo $nu->neuter($text);
You can also change the 'bad' words and the 'good' word to replace it.
$nu->setNonoWords(['ducky', 'creamy', 'Brad Pitt']); $nu->setGoodWord('scrumdiddlyumptious');