oodle / inflect
inflect - a memoizing inflector for php
Installs: 561 700
Dependents: 12
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 7
pkg:composer/oodle/inflect
Requires
- php: >=5.3.17
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2025-09-18 18:42:18 UTC
README
Inflect is an Inflector for PHP
Installation:
Add this line to your composer.json "require" section:
composer.json
"require": { ... "oodle/inflect": "*"
Usage:
use Inflect\Inflect; echo Inflect::singularize('tests'); echo Inflect::pluralize('test');
Notes:
Many thanks to original author Sho Kuwamoto"