https://github.com/gdmobile/deppenapostroph
Small library to check and transform the genitive of names for german language.
https://github.com/gdmobile/deppenapostroph
composer-package german-language php
Last synced: 7 months ago
JSON representation
Small library to check and transform the genitive of names for german language.
- Host: GitHub
- URL: https://github.com/gdmobile/deppenapostroph
- Owner: gdmobile
- License: mit
- Created: 2017-01-06T17:10:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-06T17:42:02.000Z (over 9 years ago)
- Last Synced: 2025-05-16T01:48:24.229Z (about 1 year ago)
- Topics: composer-package, german-language, php
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deppenapostroph
[](https://travis-ci.org/gdmobile/deppenapostroph) [](https://packagist.org/packages/gdmobile/deppenapostroph) [](https://packagist.org/packages/gdmobile/deppenapostroph)
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'