PHPackages                             nullref/yii2-blog - 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. [Framework](/categories/framework)
4. /
5. nullref/yii2-blog

ActiveYii2-extension[Framework](/categories/framework)

nullref/yii2-blog
=================

Blog module for Yii2

v0.0.2(8y ago)1397MITPHP

Since Oct 5Pushed 7y ago6 watchersCompare

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

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

Blog module for Yii2
====================

[](#blog-module-for-yii2)

[![Latest Stable Version](https://camo.githubusercontent.com/46c43c80c48f49a61d3d1d78806d257c6cfd4b448f9c14d2f29b07347ac5947c/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d626c6f672f762f737461626c65)](https://packagist.org/packages/nullref/yii2-blog) [![Total Downloads](https://camo.githubusercontent.com/9d4151b3b85fe1c77e1a127941fcdae87d64c07a58ef6774e2685860a8536d59/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d626c6f672f646f776e6c6f616473)](https://packagist.org/packages/nullref/yii2-blog) [![Latest Unstable Version](https://camo.githubusercontent.com/f486e5a300676b89e7f763497d5b1ce553230df4067d3c9809b3ccd5fb5dfa1a/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d626c6f672f762f756e737461626c65)](https://packagist.org/packages/nullref/yii2-blog) [![License](https://camo.githubusercontent.com/f3efceba738716c823b4462dfc3e297854cc4cedacab21d4d68cd1ef1721cb99/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d626c6f672f6c6963656e7365)](https://packagist.org/packages/nullref/yii2-blog)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nullref/yii2-blog "*"

```

or add

```
"nullref/yii2-blog": "*"

```

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

\##Override classes

You can override classes by module config.

```
'blog' => [
    'class' => "nullref\\blog\\Module",
    'classMap'=>[
        'Post' => 'app\models\Post',
        'PostSearch' => 'nullref\app\PostSearch',
        'PostQuery' => 'app\models\PostQuery',
        'BlogStatusList' => 'app\components\BlogStatusList',
    ],
],
```

Add custom statuses
-------------------

[](#add-custom-statuses)

When you override `BlogStatusList` class, you can add custom statuses for blog posts. Example:

```
namespace app\components;

class BlogStatusList extends \nullref\blog\components\BlogStatusList
{
    const STATUS_HIDE = 3;

    public function getList()
    {
        return array_merge(parent::getList(),[
            self::STATUS_HIDE => \Yii::t('app','Hide'),
        ]);
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.8% 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 ~564 days

Total

2

Last Release

2948d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5e9417df48f462cf27e16429bed321f138e1db5b943c6b026aab97b86b42b55?d=identicon)[ZAYEC77](/maintainers/ZAYEC77)

---

Top Contributors

[![ZAYEC77](https://avatars.githubusercontent.com/u/4509483?v=4)](https://github.com/ZAYEC77 "ZAYEC77 (25 commits)")[![tenfrow](https://avatars.githubusercontent.com/u/7600781?v=4)](https://github.com/tenfrow "tenfrow (7 commits)")[![lijkbezorger](https://avatars.githubusercontent.com/u/12811869?v=4)](https://github.com/lijkbezorger "lijkbezorger (1 commits)")

---

Tags

yii2yii2-extensionyii2-modulesyii2extensionblog

### Embed Badge

![Health badge](/badges/nullref-yii2-blog/health.svg)

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[akiraz2/yii2-blog

Simple, configurable blog module for Yii2 (post, comment, nested category, tags). + frontend, backend. + SEO! (Opengraph, Schema.org)

906.7k](/packages/akiraz2-yii2-blog)[funson86/yii2-cms

Yii2 Cms for other application

201.1k1](/packages/funson86-yii2-cms)

PHPackages © 2026

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