davidgomezgam/pluralizador

This package is abandoned and no longer maintained. No replacement package was suggested.

Singularize and Pluralize Spanish words.

Installs: 1 704

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/davidgomezgam/pluralizador

v1.0.1-stable 2015-10-25 20:38 UTC

This package is not auto-updated.

Last update: 2017-12-24 09:48:50 UTC


README

Singularize and Pluralize Spanish words.

Usage ( without Eloquent by Laravel )

  • 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

Usage with Eloquent

Contact

David Gómez

License

Pluralizador is available under the MIT license. See the LICENSE file for more info.