PHPackages                             p2made/p2y2-themes - 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. p2made/p2y2-themes

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

p2made/p2y2-themes
==================

Themes from Start Bootstrap, http://startbootstrap.com/, as UIs for Yii 2 Framework.

5.0.0(4y ago)403[5 issues](https://github.com/p2made/p2y2-themes/issues)MITPHP

Since Sep 11Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/p2made/p2y2-themes)[ Packagist](https://packagist.org/packages/p2made/p2y2-themes)[ RSS](/packages/p2made-p2y2-themes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

P2Y2 Themes 5.0.0
=================

[](#p2y2-themes-500)

[![License](https://camo.githubusercontent.com/c1bdd567aecafab2dc961b6a02b7799c07678418713783fa13bd06cbd9ac22f6/68747470733a2f2f706f7365722e707567782e6f72672f703279322d7468656d65732f6c6963656e7365)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Total Downloads](https://camo.githubusercontent.com/dbba6bf65d8161328dcacd8b1dc39b89359676e34ed60f2f2f391ceac8a766f9/68747470733a2f2f706f7365722e707567782e6f72672f703279322d7468656d65732f646f776e6c6f616473)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Monthly Downloads](https://camo.githubusercontent.com/5d19080397f5aaaeb618f15278ac93694a08b59f69bbbe11636380a6469e8dea/68747470733a2f2f706f7365722e707567782e6f72672f703279322d7468656d65732f642f6d6f6e74686c79)](https://packagist.org/packages/p2made/yii2-p2y2-things)[![Latest Stable Version](https://camo.githubusercontent.com/9911151be20224349d0d55cb367180431e879310b14e61b1be48e5848fc2d3bf/68747470733a2f2f706f7365722e707567782e6f72672f703279322d7468656d65732f762f737461626c65)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Latest Unstable Version](https://camo.githubusercontent.com/cdb8b8bc23852c2b52d7a813dddc11d717c901a47de25574176c2c61bda76c34/68747470733a2f2f706f7365722e707567782e6f72672f703279322d7468656d65732f762f756e737461626c65)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)

---

Themes from [Start Bootstrap](https://startbootstrap.com) as a UIs for [Yii 2](http://www.yiiframework.com/) Framework.

These themes contain [AssetBundles](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html), [Views](http://www.yiiframework.com/doc-2.0/guide-structure-views.html), and [Widgets](http://www.yiiframework.com/doc-2.0/guide-structure-widgets.html) to render the Start Bootstrap themes as Yii 2 themes.

P2 Start Bootstrap Themes declares [`p2made/yii2-p2y2-things`](https://github.com/p2made/yii2-p2y2-things) and [`p2made/yii2-p2y2-things-demo`](https://github.com/p2made/yii2-p2y2-things-demo) as dependancies.

¡¡ IMPORTANT !!
===============

[](#-important-)

Version 2.0.0 of all my Yii2 add-ons marks a breaking change where I've shortened my namespaces. `p2made\rest\of\namespace` is now `p2m\rest\of\namespace`.

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

[](#installation)

The preferred way to install P2 Start Bootstrap Themes is through [composer](http://getcomposer.org/download/). Depending on your composer installation, run *one* of the following commands:

```
composer require --prefer-dist p2y2-themes "dev-5.0.0-dev"

```

or

```
php composer.phar require --prefer-dist p2y2-themes "dev-5.0.0-dev"

```

Alternatively add:

```
		"p2y2-themes": "dev-5.0.0-dev"

```

to the requires section of your `composer.json` file &amp; P2 Start Bootstrap Themes will be installed next time you run `composer update`.

The files are installed via Yii's recommended usage of the `fxp/composer-asset-plugin`.

Quick Start
-----------

[](#quick-start)

Once the extension is installed, you can have a *preview* by reconfiguring the path mappings of the view component with *one* of `@app/views` lines:

```
	'components' => [
		'view' => [
			'theme' => [
				'pathMap' => [
					'@app/views' => '@vendor/p2y2-themes/views/agency',
					'@app/views' => '@vendor/p2y2-themes/views/business-casual',
					'@app/views' => '@vendor/p2y2-themes/views/business-frontpage',
					'@app/views' => '@vendor/p2y2-themes/views/creative',
					'@app/views' => '@vendor/p2y2-themes/views/freelancer',
					'@app/views' => '@vendor/p2y2-themes/views/grayscale',
					'@app/views' => '@vendor/p2y2-themes/views/heroic-features',
					'@app/views' => '@vendor/p2y2-themes/views/landing-page',
					'@app/views' => '@vendor/p2y2-themes/views/modern-business',
					'@app/views' => '@vendor/p2y2-themes/views/new-age',
					'@app/views' => '@vendor/p2y2-themes/views/one-page-wonder',
					'@app/views' => '@vendor/p2y2-themes/views/stylish-portfolio',
				],
			],
		],
	],
```

This asset bundle provides sample files for layout and view (see folder `views/`), they are **not meant to be customized directly in the `vendor/` folder**. If you do that, your changes will be lost next time you run `composer update`.

Therefore it is recommended to **copy the views into your application** and adjust them to your needs.

To view pages in `site/pages/` you need to modify `actions()` in the `SiteController`:

```
	public function actions()
	{
		return [
			...
			'page' => [
				'class' => 'yii\web\ViewAction',
			],
		];
	}
```

P2 Start Bootstrap Themes uses [P2Y2Things](https://github.com/p2made/yii2-p2y2-things) which requires some Yii 2 assets to be nullified to avoid conflicts through double loading. Modify `common/config/main.php` with...

```
	'components' => [
		'assetManager' => [
			'bundles' => [
				'yii\web\JqueryAsset' => [
					'sourcePath' => null, 'js' => [],
				],
				'yii\bootstrap\BootstrapAsset' => [
					'sourcePath' => null, 'css' => [],
				],
				'yii\bootstrap\BootstrapPluginAsset' => [
					'sourcePath' => null, 'js' => [],
				],
				'yii\jui\JuiAsset' => [
					'sourcePath' => null, 'css' => [], 'js' => [],
				],
				'\rmrevin\yii\fontawesome\AssetBundle' => [
					'sourcePath' => null, 'css' => [],
				],
			],
		],
		...
	],

```

Customization
-------------

[](#customization)

- Copy files from `vendor/p2y2-themes/views-preview/_your_choice_of_theme_` to `@app/views`.
- Remove the custom `view` configuration from your application by deleting the path mappings, if you have made them before.
- Edit your views adhering to the example views.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance44

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29b098ab60349c6d4301db09c4d9cc4561d9410a15d71f7c021ded9be093ecd6?d=identicon)[p2m](/maintainers/p2m)

---

Top Contributors

[![p2made](https://avatars.githubusercontent.com/u/5487600?v=4)](https://github.com/p2made "p2made (41 commits)")

---

Tags

phpbundleuiyii2themeyiiassetuser-interfaceStart-Bootstrap

### Embed Badge

![Health badge](/badges/p2made-p2y2-themes/health.svg)

```
[![Health](https://phpackages.com/badges/p2made-p2y2-themes/health.svg)](https://phpackages.com/packages/p2made-p2y2-themes)
```

###  Alternatives

[rmrevin/yii2-fontawesome

Asset Bundle for Yii2 with Font Awesome

1474.0M131](/packages/rmrevin-yii2-fontawesome)

PHPackages © 2026

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