library inflector
A comprehensive package for converting singular nouns to their plural and back.
bastian/inflector
A comprehensive package for converting singular nouns to their plural and back.
- Saturday, April 12, 2014
- by BastianHofmann
- Repository
- 1 Watchers
- 2 Stars
- 19 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 6 % Grown
Inflector
A package to transform english words from singular to plural and back., (*1)
Usage
Inflector\Inflector::plural('Tree'); // Trees
Inflector\Inflector::singular('Cakes'); // Cake
Inflector\Inflector::plural('Fish'); // Fish
Providers may be used to retrieve uncommon irregular words., (*2)
Inflector\Inflector::setProvider(new Inflector\JsonProvider);
Providers must implement the Inflector\ProviderInterface
., (*3)
dev-master
9999999-dev
A comprehensive package for converting singular nouns to their plural and back.
Sources
Download
MIT
The Development Requires
inflector
inflection
plural
singular
nouns
1.0
1.0.0.0
A comprehensive package for converting singular nouns to their plural and back.
Sources
Download
MIT
The Development Requires