erykai/pluralize

Converts plural words to singular and singular to plural

Fund package maintenance!
Erykai

v1.1.0 2022-09-23 13:45 UTC

This package is auto-updated.

Last update: 2024-08-23 17:41:04 UTC


README

Maintainer Source Code PHP from Packagist Latest Version Software License Quality Score Total Downloads

Converts plural words to singular and singular to plural

Installation

Composer:

"erykai/pluralize": "1.0.*"

Terminal

composer require erykai/pluralize

Pluralize

use \Erykai\Pluralize;
require "vendor/autoload.php";
echo (new Pluralize())->plural('friend');
//print friends

Singularize

use \Erykai\Pluralize;
require "vendor/autoload";
echo (new Pluralize())->plural('friends');
//print friend

Contribution

All contributions will be analyzed, if you make more than one change, make the commit one by one.

Support

If you find faults send an email reporting to webav.com.br@gmail.com.

Credits

License

The MIT License (MIT). Please see License for more information.