letraceursnork / php-decliner
This repository offers a PHP-based solution for declension of nouns by grammatical cases along with numerals. It ensures correct noun forms based on case (nominative, genitive, etc.) and the numeral used, handling the specific rules of declension in supported languages.
Requires
- php: >=7.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^11.3
README
Russian description
Репозиторий с интерфейсом и частичными реализациями классов, обеспечивающих склонение слов по падежам в соответствии с соответствующими им числительными
English description
This repository offers a PHP-based solution for declension of nouns by grammatical cases along with numerals. It ensures correct noun forms based on case (nominative, genitive, etc.) and the numeral used, handling the specific rules of declension in supported languages.
Quick Installation
To install PHP Decliner, run the following command:
composer require letraceursnork/php-decliner