composer require doctrine/inflector:1.0
use DoctrineCommonInflectorInflector;
# ...
Inflector::pluralize("elephant");
Inflector::singularize("elephants");
Conteúdo para você se capacitar em programação
composer require doctrine/inflector:1.0
use DoctrineCommonInflectorInflector;
# ...
Inflector::pluralize("elephant");
Inflector::singularize("elephants");