Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 787 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 787 Bytes

Pluralizador

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.