PHPackages                             mihaildev/yii2-view-replacer - 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. mihaildev/yii2-view-replacer

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

mihaildev/yii2-view-replacer
============================

Yii2 View Replacer

0.0.2(10y ago)0152BSD-3-ClausePHPPHP &gt;=5.4.0

Since May 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/MihailDev/yii2-view-replacer)[ Packagist](https://packagist.org/packages/mihaildev/yii2-view-replacer)[ Docs](https://github.com/MihailDev/yii2-view-replacer)[ RSS](/packages/mihaildev-yii2-view-replacer/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Yii2 View Replacer
==================

[](#yii2-view-replacer)

Установка
---------

[](#установка)

```
"mihaildev/yii2-view-replacer": "*"
```

Использование
-------------

[](#использование)

Допустим вы хотите использовать сторонний модуль пользователей, но админ часть вас не устраивает! вы можете создать своё расширение которое просто добавит правильные замены шаблонов!

```
class Bootstrap implements BootstrapInterface
{

    /**
     * Bootstrap method to be called during application bootstrap stage.
     * @param Application $app the application currently running
     */
    public function bootstrap($app)
    {
        ViewReplacer::replace('@app/some/path', '@app/to/path');
        ViewReplacer::replace([
            '@app/some/path' => '@app/to/path',
            '@app/some/path' => [
                '@app/to/path',
                '@app/to/path'
            ]
        ]);
    }
}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

3695d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2392194?v=4)[Mihail](/maintainers/mihaildev)[@MihailDev](https://github.com/MihailDev)

---

Top Contributors

[![MihailDev](https://avatars.githubusercontent.com/u/2392194?v=4)](https://github.com/MihailDev "MihailDev (3 commits)")

---

Tags

viewyiireplacer

### Embed Badge

![Health badge](/badges/mihaildev-yii2-view-replacer/health.svg)

```
[![Health](https://phpackages.com/badges/mihaildev-yii2-view-replacer/health.svg)](https://phpackages.com/packages/mihaildev-yii2-view-replacer)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

2401.0M40](/packages/vova07-yii2-imperavi-widget)[rmrevin/yii2-minify-view

Yii2 View component with auto minification css &amp; js in runtime

185314.5k7](/packages/rmrevin-yii2-minify-view)[ogheo/yii2-htmlcompress

Compress HTML output into a single line

20187.5k1](/packages/ogheo-yii2-htmlcompress)[marekpetras/yii2-calendarview-widget

CalendarView widget for Yii 2 Framework.

2229.6k](/packages/marekpetras-yii2-calendarview-widget)[raoul2000/yii2-workflow-view

A simple widget to display your workflows

1539.8k20](/packages/raoul2000-yii2-workflow-view)

PHPackages © 2026

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