ciatog / inflector
Simple PHP Inflector
Installs: 9 113
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 4.1.*
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2025-03-01 19:31:57 UTC
README
PHP Inflector
A simple inflection library for PHP
Usage
Install the latest version with composer require ciatog/inflector
<?php use Ciatog\Inflector; $inflector = new Inflector(); // Outputs: Testing 123 echo $inflector->humanise("testing-123"); // Outputs: testing_123 echo $inflector->machinise("testing 123"); // Outputs: testing-123 echo $inflector->dasherise("testing 123");
Author
Keith Webster - keith.webster@gmail.com - http://keith-webster.com
License
PHP Inflector is licensed under the MIT License - see the LICENSE.txt
file for details