FrenchTools

French grammar is hard, this tools will help you.

pluralize($singular, $nb, $plural = null)

Easily pluralize french words.

  • FrenchTools::pluralize('oiseau', 2); // - return oiseaux
  • FrenchTools:pluralize('bijou', '29'); // - return bijoux
  • FrenchTools:pluralize('arbre', '9'); // - return arbres
  • FrenchTools:pluralize('piscine', '1'); // - return piscine