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

ActiveYii2-extension

thefx/yii2-pages
================

Pages

0771JavaScript

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/thefx/yii2-pages)[ Packagist](https://packagist.org/packages/thefx/yii2-pages)[ RSS](/packages/thefx-yii2-pages/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (1)

Pages
=====

[](#pages)

Pages

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

[](#installation)

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

Either run

```
composer require thefx/yii2-pages:dev-master

```

or add

```
"thefx/yii2-pages": "dev-master"

```

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

Alternative installation
------------------------

[](#alternative-installation)

1. Move libs to extensions/thefx/yii2-blocks
2. Then add to your config

```
'aliases' => [
    '@thefx/pages' => '@app/extensions/thefx/yii2-pages',
    ...
],

```

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

[](#configuration)

Modify your application configuration:

```
return [
    'modules' => [
        'pages' => [
            'class' => 'thefx\pages\Module',
            'layout' => 'main',
            'layoutPure' => 'pure',
            'layoutPath' => '@app/modules/admin/layouts',
        ...
        ]
        ...
    ],
];

```

Add to routes if you want to urls begin with admin/

```
'admin/' => '/default/index',
'admin//' => '//view',
'admin///' => '/default/',
'admin//' => '/default/',

```

Apply Migrations

```
php yii migrate --migrationPath=@thefx/pages/migrations

```

Usage
-----

[](#usage)

Go and create page

```
http://site.com/admin/pages
http://site.com/pages/default/index

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd3086428aaa7f5e19cf98fe3a6b528c9ec56ccce8fc200fa962faf0874ae563?d=identicon)[3FoX](/maintainers/3FoX)

---

Top Contributors

[![thefx](https://avatars.githubusercontent.com/u/11796334?v=4)](https://github.com/thefx "thefx (7 commits)")

### Embed Badge

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

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

PHPackages © 2026

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