jfcferreira90 / Inflector-BR

Pluralize and Singularize words in portuguese

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exemplos

/**
  * Usando inflexões de palavras em português brasileiro
  */
require("inflector.php");
//Transformando a palavra para o plural
echo Inflector::pluralize('mês');
//Retorna "meses"
//Transformando a palavra para o singular
echo Inflector::singularize('meses');
//Retorna "mês"

About

Pluralize and Singularize words in portuguese

License:MIT License


Languages

Language:PHP 100.0%