Skip to content

🌴 Interface and classes to convert names to and from different formats

License

Notifications You must be signed in to change notification settings

palmtreephp/nameconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌴 Palmtree NameConverter

Requirements

  • PHP >= 5.6

Installation

Use composer to add the package to your dependencies:

composer require palmtree/form

Usage Example

$converter = new SnakeCaseToHumanNameConverter();
$converter->normalize('hello_world'); // Returns Hello World
$converter->denormalize('Hello World'); // Returns hello_world

License

Released under the MIT license

About

🌴 Interface and classes to convert names to and from different formats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages