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. [Templating &amp; Views](/categories/templating)
4. /
5. davidjeddy/yii2-pieces-theme

ArchivedTheme[Templating &amp; Views](/categories/templating)

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

Pieces Theme

1105PHPCI failing

Since Apr 19Pushed 2mo 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 3w ago

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

\[!WARNING\] **⚠️ This project has been archived and is no longer maintained. ⚠️**

Github has shown it does not respect its users. Other have said it better than I can.

- [https://www.theregister.com/2022/06/30/software\_freedom\_conservancy\_quits\_github/](https://www.theregister.com/2022/06/30/software_freedom_conservancy_quits_github/)
-
-
-
- [https://dev.to/alanwest/how-to-actually-migrate-from-github-to-codeberg-without-losing-your-mind-33bf&gt;](https://dev.to/alanwest/how-to-actually-migrate-from-github-to-codeberg-without-losing-your-mind-33bf%3E)

> Development has moved to Codeberg: **➡️ **
>
> Please update your remotes:
>
> ```
> git remote set-url origin https://codeberg.org/DavidJEddy/yii2-pieces-theme
> ```

---

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

26

—

LowBetter than 41% of packages

Maintenance57

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

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.

###  Release Activity

Cadence

Every ~83 days

Recently: every ~364 days

Total

28

Last Release

1635d 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 (1 commits)")

### 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

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[bubasuma/yii2-simplechat

A simple chat for your yii2 application

889.6k](/packages/bubasuma-yii2-simplechat)[zxbodya/yii2-tinymce

Yii2 extension to use TinyMce with Compressor and FileManager

1732.4k3](/packages/zxbodya-yii2-tinymce)

PHPackages © 2026

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