mmucklo / inflect
inflect - a memoizing inflector for php
Installs: 16 403 603
Dependents: 20
Suggesters: 0
Security: 0
Stars: 41
Watchers: 4
Forks: 6
Open Issues: 1
Requires
- php: >=5.3.17
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-10-18 16:54:51 UTC
README
Inflect is an Inflector for PHP
Installation:
Add this line to your composer.json "require" section:
composer.json
"require": { ... "mmucklo/inflect": "*"
Usage:
use Inflect\Inflect; echo Inflect::singularize('tests'); echo Inflect::pluralize('test');
Notes:
Many thanks to original author Sho Kuwamoto"