2017 © Pedro Peláez
 

library gender-neutral

Make your text gender neutral so people don't get their panties in a bunch. (and yes, men can wear panties too!)

image

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!)

  • Friday, December 6, 2013
  • by phpjerk
  • Repository
  • 1 Watchers
  • 2 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

PHPJerk's Gender Neutral Library v1

Simple library that takes your text and removes all gender specific pronouns., (*2)

Install

Open up that composer.json and drop this, (*3)

    "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., (*4)

    $nu->setNonoWords(['ducky', 'creamy', 'Brad Pitt']);
    $nu->setGoodWord('scrumdiddlyumptious');

The Versions

06/12 2013

dev-master

9999999-dev

Make your text gender neutral so people don't get their panties in a bunch. (and yes, men can wear panties too!)

  Sources   Download

The Requires

  • php >=5.4

 

by Phillip Jerk

06/12 2013

v1.0

1.0.0.0

Make your text is gender neutral so people don't get their panties in a bunch. (and yes, men can wear panties too!)

  Sources   Download

The Requires

  • php >=5.3.0

 

by Phillip Jerk