Skip to content

ciatog/PhpInflector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

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

About

A simple inflection library for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages