palmtree / nameconverter
NameConverter component for Palmtree PHP
Installs: 4 772
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
Requires (Dev)
README
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