gdmobile / deppenapostroph
v1.0.0
2017-01-06 17:40 UTC
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2024-11-04 14:59:21 UTC
README
Small library to check and transform the genitive of names for german language.
Installation
composer require gdmobile/deppenapostroph
Usage
$name = 'Heiko';
$result = Deppenapostroph::needsApostropheOnly($name);
# $result == false
$transformed = Deppenapostroph::transform($name);
# $transformed == 'Heikos'