maslauskas/declension

Package that transforms the grammatical case of strings.

dev-master 2017-10-24 19:29 UTC

This package is auto-updated.

Last update: 2024-09-13 18:21:10 UTC


README

This package is in it's early state of development, so expect bugs.

Laravel Declension

Package that transforms the grammatical case of strings.

Requirements

This package is created for Laravel version 5.5.

Installation

composer require maslauskas\declension

That's it! This package utilizes Laravel's package auto-discovery feature, so nothing else is required.

Usage

Declension::vocative('string of nouns');

Available languages and grammatical cases

  • Lithuanian - vocative, genitive;