PHPackages                             p2made/p2y2-startbootstrap-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. [Templating &amp; Views](/categories/templating)
4. /
5. p2made/p2y2-startbootstrap-themes

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

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

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

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

Since Sep 11Pushed 3mo ago1 watchersCompare

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

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

P2 Start Bootstrap Themes 5.0.0
===============================

[](#p2-start-bootstrap-themes-500)

[![License](https://camo.githubusercontent.com/0d860e2f1dd94074424cdfd11d73a9f38437aa56be4197ac14fd15e89e42d772/68747470733a2f2f706f7365722e707567782e6f72672f70326d6164652f703279322d7374617274626f6f7473747261702d7468656d65732f6c6963656e7365)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Total Downloads](https://camo.githubusercontent.com/9137dc6cf3a0577f95067997038a2e01b40d4401a4edaf168c4f10b7fcf28880/68747470733a2f2f706f7365722e707567782e6f72672f70326d6164652f703279322d7374617274626f6f7473747261702d7468656d65732f646f776e6c6f616473)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Monthly Downloads](https://camo.githubusercontent.com/2ffacdadbbf4a005c119ad3d2f8aac61b3bb79a41646291c7e570af418826ed2/68747470733a2f2f706f7365722e707567782e6f72672f70326d6164652f703279322d7374617274626f6f7473747261702d7468656d65732f642f6d6f6e74686c79)](https://packagist.org/packages/p2made/yii2-p2y2-things)[![Latest Stable Version](https://camo.githubusercontent.com/1e1ee986ba3d852866a682c8d89fcaf10b4a6493f8efe74e563ff639683c4fa0/68747470733a2f2f706f7365722e707567782e6f72672f70326d6164652f703279322d7374617274626f6f7473747261702d7468656d65732f762f737461626c65)](https://packagist.org/packages/p2made/yii2-p2y2-things-demo)[![Latest Unstable Version](https://camo.githubusercontent.com/8732f66840c209e2de6b4fc9949acb0b57029ceb5aff38e2091f6d4ce5279f65/68747470733a2f2f706f7365722e707567782e6f72672f70326d6164652f703279322d7374617274626f6f7473747261702d7468656d65732f762f756e737461626c65)](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 p2made/p2y2-startbootstrap-themes "dev-5.0.0-dev"

```

or

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

```

Alternatively add:

```
		"p2made/p2y2-startbootstrap-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/p2made/p2y2-startbootstrap-themes/views/agency',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/business-casual',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/business-frontpage',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/creative',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/freelancer',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/grayscale',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/heroic-features',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/landing-page',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/modern-business',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/new-age',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/one-page-wonder',
					'@app/views' => '@vendor/p2made/p2y2-startbootstrap-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/p2made/p2y2-startbootstrap-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

31

—

LowBetter than 68% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

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-startbootstrap-themes/health.svg)

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

###  Alternatives

[shipu/themevel

Theme and asset management for laravel

34632.1k1](/packages/shipu-themevel)[andreia/filament-nord-theme

A minimalist Arctic Nord theme for FilamentPHP

13334.7k2](/packages/andreia-filament-nord-theme)[raoul2000/yii2-bootswatch-asset

Use Bootswatch theme in your Yii application with minimum effort

2145.0k4](/packages/raoul2000-yii2-bootswatch-asset)[luyadev/luya-bootstrap4

Bootstrap4 Assets and Helper classes like ActiveForm for LUYA and Yii2.

1843.9k3](/packages/luyadev-luya-bootstrap4)

PHPackages © 2026

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