PHPackages                             asbsoft/yii2module-news\_1b\_160430 - 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. asbsoft/yii2module-news\_1b\_160430

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

asbsoft/yii2module-news\_1b\_160430
===================================

Simple Yii2 news module

1.1.6(8y ago)0142BSD-3-ClausePHPPHP &gt;=5.4

Since Nov 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/asbsoft/yii2module-news_1b_160430)[ Packagist](https://packagist.org/packages/asbsoft/yii2module-news_1b_160430)[ RSS](/packages/asbsoft-yii2module-news-1b-160430/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (6)Versions (11)Used By (2)

Simple news module
==================

[](#simple-news-module)

This module-package contain backend and frontend parts together. Additional system features support by 'asbsoft/yii2-common...' package-kernel.

Module support multilanguage news. News can show if has body for at least one language.

Module use visual editor for create news text with images etc.

Module use 'roleNewsAuthor' and 'roleNewsModerator' in addition to standard 'roleAdmin'. Author can create and update own news but can't delete and set news visible on frontend. Moderator can't create but can edit, delete and change visibility of every news. Modules' roles contant module's name (roleNEWSauthor) to avoid conflicts with another content-modules.

Features
--------

[](#features)

- Time save in UTC time zone format. Frontend provide time correction according time zone getting from user's browser.
- System languages interface provide by LangHelper supported by asbsoft/yii2-common...-package. System can have languages visible on frontend and unvisible (for future addition for example). If module params\['editAllLanguages'\] == true you can edit news bodies for unvisible languages.

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

[](#installation)

- Use 'composer require asbsoft/news\_1b\_160430' to install. If you can't use composer download and unpack module to /vendor/asbsoft/yii2module/news\_1b\_160430/ Such folder help system to find module automatically. (Suppose that system have such alias: Yii::setAlias('@asb/yii2/modules', '@vendor/asbsoft/yii2module');)
- Apply module's migrations (once).
- Create in your Yii2-application new module .../modules/news/Module.php contains ```
      namespace {APP}\modules\news;  // {APP} may be backend/frontend/app/project or your own namespace prefix
      class Module extends \asb\yii2\modules\news_1b_160430\Module {}
    ```

    in proper place: @app/modules/news/ or @project/modules/news/ or @backend/modules/news/ and @backend/modules/news/ together (for advanced Yii2-application) In config/config.php file in this/these place(s) you have to redefine 'routesConfig' initially defined in asbsoft/news\_1b\_160430/config/config.php. *Attention* For advanced Yii2-application you will have two such news-modules but with different configs contain:
    - for backend 'routesConfig' =&gt; { 'main' =&gt; false, ... }
    - for frontend 'routesConfig' =&gt; { 'admin' =&gt; false, ... }
- Add such module(s) to your system's config(s).

Note
----

[](#note)

Namespace like ...\\news\_1b\_160430 is no problem for routing because UniModule (used as parent module) has mechanism for create tuning routes from config/routes-...-files. But if you project has simple routes building by common rules such 'module:\\w+/controller:\\w+/action:\\w+/param:\\w+' =&gt; '//', you can create new module @app/modules/news contains Module.php only with code class Module extends \\asb\\yii2\\modules\\news\_1b\_160430\\Module {} New module extends all features from this module(package). Append this new module (not news\_1b\_160430) to system config 'modules' array.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

10

Last Release

3026d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99133681c4373355173f654ac247924f96a0f406e5f20b45ec5793185a11c2d6?d=identicon)[asbsoft](/maintainers/asbsoft)

---

Top Contributors

[![asbsoft](https://avatars.githubusercontent.com/u/18103286?v=4)](https://github.com/asbsoft "asbsoft (17 commits)")

---

Tags

yii2

### Embed Badge

![Health badge](/badges/asbsoft-yii2module-news-1b-160430/health.svg)

```
[![Health](https://phpackages.com/badges/asbsoft-yii2module-news-1b-160430/health.svg)](https://phpackages.com/packages/asbsoft-yii2module-news-1b-160430)
```

###  Alternatives

[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)[arogachev/yii2-sortable

Sortable ActiveRecord for Yii 2 framework

1637.0k4](/packages/arogachev-yii2-sortable)

PHPackages © 2026

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