PHPackages                             mrssoft/yii2-mdash - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrssoft/yii2-mdash

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

mrssoft/yii2-mdash
==================

E. Muravjov's typographer for Yii2

1.0.3(6y ago)02251MITPHP

Since Mar 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mrs2000/yii2-mdash)[ Packagist](https://packagist.org/packages/mrssoft/yii2-mdash)[ RSS](/packages/mrssoft-yii2-mdash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

yii2-mdash
==========

[](#yii2-mdash)

E. Muravjov's typographer for Yii2

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist mrssoft/yii2-mdash "*"

```

or add

```
"mrssoft/yii2-mdash": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Configuration:

```
'components' => [
	...
	'mdash' => [
      'class' => 'mrssoft\mdash\Mdash',
      'remote' => true, // Use remote API or local. Default false.
      'options' => [ // Typograph options. See http://mdash.ru/rules.html
        'Text.paragraphs' => 'off',
        'Text.breakline' => 'off',
        'OptAlign.all' => 'off',
        'Etc.unicode_convert' => 'off',
        'Nobr.spaces_nobr_in_surname_abbr' => 'off',
        'Etc.split_number_to_triads' => 'off'
      ]
   ]
   ....
]
```

Usage:

```
$mdash = new Mdash([
  'remote' => false,
  'options' => [
    'Text.paragraphs' => 'off',
  ]
]);

echo $mdash->process("мой текст");
```

Usage as filter:

```
public function rules()
{
    return [
    	['text',
        	'\mrssoft\mdash\MdashFilter',
        	'options' => ['remove' => false]
        ],
    ]
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~567 days

Total

2

Last Release

2430d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e69f6780ee8c8e5b2c10af66e1232ac3925766c6f2f83db1820f2ff9a590a62?d=identicon)[mrs2000](/maintainers/mrs2000)

---

Tags

yii2extensiontypographmdash

### Embed Badge

![Health badge](/badges/mrssoft-yii2-mdash/health.svg)

```
[![Health](https://phpackages.com/badges/mrssoft-yii2-mdash/health.svg)](https://phpackages.com/packages/mrssoft-yii2-mdash)
```

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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