Singularize and Pluralize Spanish words.
- Singular
# Singular
> use Pluralizador\Infector as Str;
> $singularFromPlural = Str::singular("jueces");
> echo $singularFromPlural; // Output: juez
- Plural
# Plural
> use Pluralizador\Support\Str;
> $pluralFromSingular = Str::plural("juez");
> echo $pluralFromSingular; // Output: jueces
- You can use this library with Eloquent by Laravel. For more info: https://github.com/davidgomezgam/pluralizador-eloquent
David Gómez
Pluralizador is available under the MIT license. See the LICENSE file for more info.