Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/palmtreephp/nameconverter

:palm_tree: Interface and classes to convert names to and from different formats
https://github.com/palmtreephp/nameconverter

Last synced: about 1 month ago
JSON representation

:palm_tree: Interface and classes to convert names to and from different formats

Awesome Lists containing this project

README

        

# :palm_tree: Palmtree NameConverter

## Requirements
* PHP >= 5.6

## Installation

Use composer to add the package to your dependencies:
```bash
composer require palmtree/form
```

## Usage Example

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

## License

Released under the [MIT license](LICENSE)