PHPackages                             wapmorgan/morphos-blade - 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. [Templating &amp; Views](/categories/templating)
4. /
5. wapmorgan/morphos-blade

ActiveLibrary[Templating &amp; Views](/categories/templating)

wapmorgan/morphos-blade
=======================

Adds @plural, @name, @numeral, @ordinal and @money tags to Blade for Russian pluralization and declenation.

1.6.1(7y ago)3383.6k↓37.7%6[1 issues](https://github.com/wapmorgan/Morphos-Blade/issues)MITPHP

Since Feb 2Pushed 7y ago3 watchersCompare

[ Source](https://github.com/wapmorgan/Morphos-Blade)[ Packagist](https://packagist.org/packages/wapmorgan/morphos-blade)[ RSS](/packages/wapmorgan-morphos-blade/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

MorphosBlade
============

[](#morphosblade)

[На русском языке - README-ru](README-ru.md).

[![Composer package](https://camo.githubusercontent.com/a61530cb7b05459882b3e6ff3f508acdfb4a34be79e6f24b30af5471264816f4/687474703a2f2f636f6d706f7365722e6e6574776f726b2f62616467652f7761706d6f7267616e2f6d6f7270686f732d626c616465)](https://packagist.org/packages/wapmorgan/morphos-blade)[![Latest Stable Version](https://camo.githubusercontent.com/34ddd57de5fce82f1d6a41eeab9b35f7265129bdeee5448b96adb822f34a3989/68747470733a2f2f706f7365722e707567782e6f72672f7761706d6f7267616e2f6d6f7270686f732d626c6164652f76657273696f6e)](https://packagist.org/packages/wapmorgan/morphos-blade)[![License](https://camo.githubusercontent.com/3174aacade51a8bbabdf1f2bb2f826f3a87dba79fb1b9f01aadbd194ec96c213/68747470733a2f2f706f7365722e707567782e6f72672f7761706d6f7267616e2f6d6f7270686f732d626c6164652f6c6963656e7365)](https://packagist.org/packages/wapmorgan/morphos-blade)

Adds a @plural, @name, @numeral, @ordinal and @money tags to Laravel's Blade templating engine for Russian pluralization and declenation.

```

@plural(252, 'новость') от @name('Иванов Иван Иванович', 'родительный')
@numeral(565, 'сообщение', 'n') и @money(123.50, '₽') за Ваше отсутствие.
Это Ваше @ordinal(351, 'n') посещение нашего сайта за сегодня!

```

Will be compiled in

```

252 новости от Иванова Ивана Ивановича
пятьсот шестьдесят пять сообщений и 123 рубля 50 копеек за Ваше отсутствие
Это Ваше триста пятьдесят первое посещение нашего сайта за сегодня!

```

Most popular directives:

- **@plural(count, noun)** - Get plural form of word. Just pass count of objects and noun.

    ```
    @plural(244, 'элемент')
    ```
- **@money(value, currency)** - Get money formatted as text string. Just pass value and currency (₽ or $ or € or ₴ or £).

    ```
    @money(1000.10, '$')
    ```
- **@numeral(number)** - Get numeral of a number. Just pass number.

    ```
    @numeral(344)
    ```
- **@ordinal(number)** - Get ordinal of a number. Just pass number.

    ```
    @ordinal(500)
    ```
- **@name(name, case)** - Get any case of fullname with gender detection. Just pass name and case (именительный, родительный, дательный, винительный, творительный, предложный)

    ```
    @name('Коленко Сергей Аркадьевич', 'dativus')
    ```

Additional directives:

- **@name(name, gender, case)** - Get any case of fullname. Just pass name, gender (`f` or `m` or null) and case (именительный, родительный, дательный, винительный, творительный, предложный). Use this directive if middle name is unknown and gender detection can make wrong decision.

    ```
    @name('Филимонов Игорь', 'm', 'dativus')
    ```
- **@numeral(number, gender)** - Get numeral of a number. Just pass number and gender (`m` or `f` or `n`) to use correct form of gender-dependent words (один/одно/одна, два/две).

    ```
    @numeral(121, 'n')
    ```
- **@numeral(number, noun)** - Get numeral and a pluralized noun. Just pass number and noun. It's just a shortcut to `@numeral(3) @plural(3, 'поле')`

    ```
    @numeral(3, 'поле')
    ```
- **@numeral(number, noun, gender)** - Get numeral and a pluralized noun. Just pass number, noun and gender (`m` or `f` or `n`) to use correct form of gender-dependent words (один/одно/одна, два/две).

    ```
    @numeral(101, 'сообщение', 'n')
    ```
- **@ordinal(number, gender)** - Get ordinal of a number. Just pass number and gender (`m` or `f` or `n`) to use correct form of gender-dependent words (первый/первое/первая, второй/второе/вторая, etc).

    ```
    @ordinal(351, 'n')
    ```

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

[](#installation)

### Get the Package

[](#get-the-package)

```
composer require wapmorgan/morphos-blade

```

### Register the Service Provider

[](#register-the-service-provider)

Open up your `app.php` in your `config` folder, and add the following line to your `providers` list like:

```
'providers' => array(
    ...
    morphos\MorphosBladeProvider::class
)
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 96.1% of commits — single point of failure

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

Every ~63 days

Recently: every ~152 days

Total

11

Last Release

2757d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6000618?v=4)[Sergey](/maintainers/wapmorgan)[@wapmorgan](https://github.com/wapmorgan)

---

Top Contributors

[![wapmorgan](https://avatars.githubusercontent.com/u/6000618?v=4)](https://github.com/wapmorgan "wapmorgan (49 commits)")[![LoginovIlya](https://avatars.githubusercontent.com/u/224177579?v=4)](https://github.com/LoginovIlya "LoginovIlya (1 commits)")[![uniconstructor](https://avatars.githubusercontent.com/u/1384545?v=4)](https://github.com/uniconstructor "uniconstructor (1 commits)")

---

Tags

bladeblade-directivesmorphologyblademorphology

### Embed Badge

![Health badge](/badges/wapmorgan-morphos-blade/health.svg)

```
[![Health](https://phpackages.com/badges/wapmorgan-morphos-blade/health.svg)](https://phpackages.com/packages/wapmorgan-morphos-blade)
```

###  Alternatives

[blade-ui-kit/blade-icons

A package to easily make use of icons in your Laravel Blade views.

2.5k34.2M309](/packages/blade-ui-kit-blade-icons)[blade-ui-kit/blade-heroicons

A package to easily make use of Heroicons in your Laravel Blade views.

64227.9M111](/packages/blade-ui-kit-blade-heroicons)[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[outhebox/blade-flags

A package to easily make use of country &amp; language flags in your Laravel Blade views.

303723.7k6](/packages/outhebox-blade-flags)

PHPackages © 2026

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