PHPackages                             bkubicki/polish-noun-numeral-declension - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. bkubicki/polish-noun-numeral-declension

ActiveLibrary[Localization &amp; i18n](/categories/localization)

bkubicki/polish-noun-numeral-declension
=======================================

Polish noun numeral declension

1.0.0(6y ago)3914[1 PRs](https://github.com/bartoszkubicki/polish-noun-numeral-declension/pulls)1MITPHPPHP ^7.2.0|~7.3.0CI failing

Since May 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/bartoszkubicki/polish-noun-numeral-declension)[ Packagist](https://packagist.org/packages/bkubicki/polish-noun-numeral-declension)[ RSS](/packages/bkubicki-polish-noun-numeral-declension/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (3)Used By (1)

BKubicki Polish Nouns Numeral Declension
========================================

[](#bkubicki-polish-nouns-numeral-declension)

Overview
--------

[](#overview)

This mini-library provides declesion of noun according to numeral used before, specifically for polish language. [Rules are following](http://www.rjp.pan.pl/index.php?option=com_content&view=article&id=1011:skadnia-liczebnikow-70&catid=44&Itemid=145). This library is port of [this awesome mini-library](https://github.com/mmiszy/polish-plurals) for php language.

3 forms of nouns are now supported:

- singular nominative
- plural nominative
- plural accusative

```
decle(1, "komentarz", "komentarze", "komentarzy"); // komentarz
decle(0, "komentarz", "komentarze", "komentarzy"); // komentarzy
decle(3, "komentarz", "komentarze", "komentarzy"); // komentarze

```

As its only mini-library, it doesn't support any exceptions from the rules.

Prerequisites
-------------

[](#prerequisites)

- PHP 7.2/7.3

Installation
------------

[](#installation)

To install the extension use the following commands:

```
 composer require bkubicki/polish-noun-numeral-declination
```

Tests
-----

[](#tests)

### Unit

[](#unit)

1. Run command

```
./vendor/bin/phpunit -c phpunit.xml --testsuite "Unit" --coverage-html coverage/coverage-html --colors=always

```

2. You can also use some alias:

- `test-unit-coverage` - *`vendor/bin/phpunit -c phpunit.xml --testsuite "Unit" --coverage-html coverage/coverage-html --colors=always`*

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/bartoszkubicki/magento2-unit-tests-doubles/tags).

Changelog
---------

[](#changelog)

See changelog [here](CHANGELOG.md).

Authors
-------

[](#authors)

- [Bartosz Kubicki](https://github.com/bartoszkubicki)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance54

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2193d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20238194?v=4)[Bartosz Kubicki](/maintainers/bartoszkubicki)[@bartoszkubicki](https://github.com/bartoszkubicki)

---

Tags

declensionfunctionsi18ntranslationdeclensionnounnumeraldecle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bkubicki-polish-noun-numeral-declension/health.svg)

```
[![Health](https://phpackages.com/badges/bkubicki-polish-noun-numeral-declension/health.svg)](https://phpackages.com/packages/bkubicki-polish-noun-numeral-declension)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
