gdmobile/deppenapostroph

v1.0.0 2017-01-06 17:40 UTC

This package is not auto-updated.

Last update: 2024-11-04 14:59:21 UTC


README

Build Status License Latest Stable Version

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'