Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/palmtreephp/nameconverter
- Owner: palmtreephp
- License: mit
- Created: 2016-10-25T11:11:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-19T14:45:47.000Z (over 4 years ago)
- Last Synced: 2024-10-07T22:36:14.468Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)