palmtree/nameconverter

NameConverter component for Palmtree PHP

v2.0.0 2020-04-19 14:45 UTC

This package is auto-updated.

Last update: 2024-10-20 00:33:23 UTC


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