PHPackages                             davidjeddy/yii2-pieces-theme - 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. davidjeddy/yii2-pieces-theme

ActiveTheme

davidjeddy/yii2-pieces-theme
============================

Pieces Theme

2.2(4y ago)1105MITPHPCI failing

Since Nov 15Pushed 4y agoCompare

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

READMEChangelogDependencies (2)Versions (32)Used By (0)

Yii2 Pieces Compendium Theme
============================

[](#yii2-pieces-compendium-theme)

About
-----

[](#about)

Yii2 Custom Theme for pieces-compendium.com

Badges
------

[](#badges)

\--need SensioLabs tests setup-- [![Latest Stable Version](https://camo.githubusercontent.com/afcd50afd1bd9bf5c4a2b18c8208e44f24a23421753a31bff343918bc018e4c1/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f762f737461626c65)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)[![Total Downloads](https://camo.githubusercontent.com/45d23b1f088d3485b4f5f7fd7e7bb576432b1444e6468e665e018e84a30b5d33/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f646f776e6c6f616473)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)[![Latest Unstable Version](https://camo.githubusercontent.com/2e4b2e10d2ccab4cbce577e98b8152c2b0507a8bc6716d0dc0a18797c00d58e7/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f762f756e737461626c65)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)[![License](https://camo.githubusercontent.com/00c33f1f11acaf26a2f13e317acb35f6487370dbeb7006c469c51d8d150668eb/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f6c6963656e7365)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)[![Monthly Downloads](https://camo.githubusercontent.com/3dcf7c3e1cb90e9b1a64e63328afe61f2cb1f8cb0d44cb8d26333098f33d2292/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f642f6d6f6e74686c79)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)[![Daily Downloads](https://camo.githubusercontent.com/ef776a4c3f601e15818e51c3955591ea5e0bef587f0c97c2ccbe77b970cfc82f/68747470733a2f2f706f7365722e707567782e6f72672f64617669646a656464792f796969322d7069656365732d7468656d652f642f6461696c79)](https://packagist.org/packages/davidjeddy/yii2-pieces-them)

Credit
------

[](#credit)

Based on .

Installing
----------

[](#installing)

- Run `php composer.phar require davidjeddy/yii2-pieces-theme` on the terminal in your {project root}
- Or add `"davidjeddy/yii2-pieces-theme": "^2"` to your projects composer.json in the "required": \[...\] section, then execute a `php composer.phar update -o` command.

Next edit /application/root/path.env (or create if one does not exist). Edit the proper values for `STORAGE_HOST_INFO`. Example: `STORAGE_HOST_INFO = https://storage.pieces-compendium.`

Then edit the applications ./config/web.php (or similar):

```
    'components' => [
    ...
        'assetManager' => ['linkAssets' => true],
        'view' => [
            'theme' => [
                'pathMap' => [
                    '@app/views' => '@vendor/davidjeddy/yii2-pieces-theme/src/views',
                ],
            ],
        ],
    ...
],

```

Structure:
==========

[](#structure)

```
backend/
    ...
    views/
    web/
        ...
        themes/
            themes_1/
                assets/
                views/
                    layout/
                    controller_name/
                    ...
            themes_2/
            themes_3/

```

Usage
=====

[](#usage)

In your application's view layout file, initialize the theme.

```
public function init()
{
    parent::init();
    \Yii::$app->view->theme->pathMap[your_module_name.'/views'] = [your_module_name.'/themes/'.\Yii::$app->view->theme->active.'/views'];
    // custom initialization code goes here
}

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity74

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

Recently: every ~364 days

Total

28

Last Release

1589d ago

Major Versions

1.0.16 → 2.0.02017-12-06

### Community

Maintainers

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

---

Top Contributors

[![davidjeddy](https://avatars.githubusercontent.com/u/6232455?v=4)](https://github.com/davidjeddy "davidjeddy (59 commits)")

---

Tags

yii2theme

### Embed Badge

![Health badge](/badges/davidjeddy-yii2-pieces-theme/health.svg)

```
[![Health](https://phpackages.com/badges/davidjeddy-yii2-pieces-theme/health.svg)](https://phpackages.com/packages/davidjeddy-yii2-pieces-theme)
```

###  Alternatives

[yiister/yii2-gentelella

Free admin template for backend

277278.3k5](/packages/yiister-yii2-gentelella)[yiister/yii2-adminlte

yii2-adminlte is a package for yii framework 2 that consists a very popular backend template AdminLTE (based on bootstrap 3).

2839.3k](/packages/yiister-yii2-adminlte)[raoul2000/yii2-bootswatch-asset

Use Bootswatch theme in your Yii application with minimum effort

2145.0k4](/packages/raoul2000-yii2-bootswatch-asset)

PHPackages © 2026

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