PHPackages                             execut/yii2-pages - 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. execut/yii2-pages

ActiveYii2-extension

execut/yii2-pages
=================

Yii2 module for pages managing with CRUD

0.8.0(5y ago)039223Apache-2.0PHP

Since Apr 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/execut/yii2-pages)[ Packagist](https://packagist.org/packages/execut/yii2-pages)[ Docs](https://github.com/execut/yii2-pages)[ RSS](/packages/execut-yii2-pages/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (44)Used By (3)

yii2-pages
==========

[](#yii2-pages)

Yii2 module for controlling static pages via CRUD. The module can used both separately and as part of the [execut/yii2-cms](https://github.com/execut/yii2-cms).

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

[](#installation)

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

### Install

[](#install)

Either run

```
$ php composer.phar require execut/yii2-pages

```

or add

```
"execut/yii2-pages": "@dev"

```

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

### Configuration

[](#configuration)

Add module bootstrap to backend application config:

```
    'bootstrap' => [
    ...
        'pages' => [
            'class' => \execut\pages\bootstrap\Backend::class,
        ],
    ...
    ],
```

Add module bootstrap to common application config:

```
    'bootstrap' => [
    ...
        'pages' => [
            'class' => \execut\pages\bootstrap\Common::class,
        ],
    ...
    ],
```

Add module bootstrap inside console application config:

```
    'bootstrap' => [
    ...
        'pages' => [
            'class' => \execut\pages\bootstrap\Console::class,
        ],
    ...
    ],
```

Apply migrations via yii command:

```
./yii migrate/up --interactive=0

```

After configuration, the module should open by paths: pages/backend

### Module backend navigation

[](#module-backend-navigation)

You may output navigation of module inside your layout via execut/yii2-navigation:

```
    echo Nav::widget([
        ...
        'items' => \yii\helpers\ArrayHelper::merge($menuItems, \yii::$app->navigation->getMenuItems()),
        ...
    ]);
    NavBar::end();

    // Before standard breadcrumbs render breadcrumbs and header widget:
echo \execut\navigation\widgets\Breadcrumbs::widget();
echo \execut\navigation\widgets\Header::widget();
echo Breadcrumbs::widget([
    'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]);
```

For more information about execut/yii2-navigation module, please read it [documentation](https://github.com/execut/yii2-navigation)

### Usage

[](#usage)

#### Administration

[](#administration)

[![Pages list](https://raw.githubusercontent.com/execut/yii2-pages/master/docs/list.jpg)](https://raw.githubusercontent.com/execut/yii2-pages/master/docs/list.jpg)

Section contains the following columns:

NameDescriptionNamePage namePages PageParent page[![Add form](https://raw.githubusercontent.com/execut/yii2-pages/master/docs/form.jpg)](https://raw.githubusercontent.com/execut/yii2-pages/master/docs/form.jpg)

On frontend page is available by parameter ?id=# on main page or /pages/frontend?id=#, where # - database page identify

#### Increasing functionality

[](#increasing-functionality)

The module has poor functionality. For adding more functionality inside module you can connect to module plugin or create it. Plugins based on interface execut\\pages\\Plugin

Already available plugins sorted by priority:

NameRequired moduleFunctionalityAlias[execut/yii2-alias](http://github.com/execut/yii2-alias)Attach to every page own alias for adding humanize urlsSeo[execut/yii2-seo](http://github.com/execut/yii2-seo)Editor and seo metaTags inside backend. Rendering text and metaTags on frontend.Menu[execut/yii2-menus](http://github.com/execut/yii2-menus)Add helpers to pages menusSettings[execut/yii2-settings](http://github.com/execut/yii2-settings)Customization exception pages like 500 error via settings module.Sitemap[execut/yii2-sitemap](http://github.com/execut/yii2-sitemap)Added checkbox for detect pages needed for rendering into sitemap.xml inside sitemap moduleFiles[execut/yii2-files](http://github.com/execut/yii2-files)Attach image to every pageGoods[execut/yii2-goods](http://github.com/execut/yii2-goods)Attach good to every page for render it before page textAfter selecting the necessary plugins, connect them as follows to module via common bootstrap depends config:

```
    'bootstrap' => [
    ...
        'settings' => [
            'class' => \execut\settings\bootstrap\Common::class,
            'depends' => [
                'modules' => [
                    'settings' => [
                        'plugins' => [
                            'own-plugin' => [
                                'class' => $pluginClass // You plugin class here
                            ],
                        ],
                    ]
                ],
            ],
        ],
    ...
    ],
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

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

Total

43

Last Release

2000d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ffb982747c04d8d93e2db3f8d90e44864c7c2a21a4c3d00ffbe66325f3f91c4?d=identicon)[execut](/maintainers/execut)

---

Top Contributors

[![execut](https://avatars.githubusercontent.com/u/2357407?v=4)](https://github.com/execut "execut (49 commits)")

---

Tags

yii2-pages

### Embed Badge

![Health badge](/badges/execut-yii2-pages/health.svg)

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

PHPackages © 2026

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