PHPackages                             daxslab/yii2-staticpages-module - 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. daxslab/yii2-staticpages-module

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

daxslab/yii2-staticpages-module
===============================

Module to manage static pages in a Yii2 application

0137PHP

Since Apr 3Pushed 8y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

StaticPages
===========

[](#staticpages)

[![Build Status](https://camo.githubusercontent.com/f964199dd5bafb464694555b875fbfcb51d04639e5699bb0de920c8a590a316a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f646178736c61622f796969322d73746174696370616765732d6d6f64756c652e706e67)](http://travis-ci.org/daxslab/yii2-staticpages-module)[![Latest Stable Version](https://camo.githubusercontent.com/659f79adc0559e8c00401925165cc384c120495cc85a6a061d13bc504e50611c/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d73746174696370616765732d6d6f64756c652f762f737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-staticpages-module)[![Total Downloads](https://camo.githubusercontent.com/bab969eacabda41abe2eb58503444b0f056d78f4af8e7d8bc28331b203c03a93/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d73746174696370616765732d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/daxslab/yii2-staticpages-module)[![Latest Unstable Version](https://camo.githubusercontent.com/10b041c2dfd3afa2c684fc171c2c1186a3e3da30f24aa7b213d863890f1924b8/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d73746174696370616765732d6d6f64756c652f762f756e737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-staticpages-module)[![License](https://camo.githubusercontent.com/d3842939a37c7f4979f50ceea53ff452c5740a1355d4289e0cbf69467cdb848a/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d73746174696370616765732d6d6f64756c652f6c6963656e73652e737667)](https://packagist.org/packages/daxslab/yii2-staticpages-module)

Module to manage static pages in a Yii2 application

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist daxslab/yii2-staticpages-module "*"

```

or add

```
"daxslab/yii2-staticpages-module": "*"

```

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

Database Migration
------------------

[](#database-migration)

```
./yii migrate --migration-path="@daxslab/staticpages/migrations"

```

Configuration
-------------

[](#configuration)

In the backend configure the Page module by the following:

```
'modules' => [
    //...
    'staticpages' => [
        'class' => daxslab\staticpages\Module::class,
        'controllerNamespace' => 'daxslab\staticpages\controllers\backend',
        // you can setup any InputWidget subclass as text editor
        'editorConfig' => [
            'class' => yii2mod\markdown\MarkdownEditor\MarkdownEditor::class,
        ];
    ],
    //...
]
```

And in frontend:

```
'modules' => [
    //...
    'staticpages' => [
            'class' => daxslab\staticpages\Module::class,
            'controllerNamespace' => 'daxslab\staticpages\controllers\frontend',
            // you can specify a different view path for better matching your style
            'viewPath' => '@frontend/views/',
        ],
    //...
]
```

Proudly made by [Daxslab](http://daxslab.com).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13596248?v=4)[Gabriel Alejandro López López](/maintainers/glpzzz)[@glpzzz](https://github.com/glpzzz)

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

---

Top Contributors

[![glpzzz](https://avatars.githubusercontent.com/u/13596248?v=4)](https://github.com/glpzzz "glpzzz (12 commits)")[![cccaballero](https://avatars.githubusercontent.com/u/3727802?v=4)](https://github.com/cccaballero "cccaballero (2 commits)")

### Embed Badge

![Health badge](/badges/daxslab-yii2-staticpages-module/health.svg)

```
[![Health](https://phpackages.com/badges/daxslab-yii2-staticpages-module/health.svg)](https://phpackages.com/packages/daxslab-yii2-staticpages-module)
```

###  Alternatives

[fale/isbn

ISBN library

88524.8k6](/packages/fale-isbn)[roomify/bat

A booking and availability management library

156146.0k](/packages/roomify-bat)[thathoff/kirby-git-content

Plugin to track changes to content in a git repository.

15343.7k](/packages/thathoff-kirby-git-content)[tuupola/base32

Base32 encoder and decoder for arbitrary data

14552.2k6](/packages/tuupola-base32)[dmamontov/asynctask-7

AsyncTask enables proper and easy use of the thread. This class allows to perform background operations and publish results on the thread without having to manipulate threads and/or handlers.

1313.1k](/packages/dmamontov-asynctask-7)

PHPackages © 2026

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