PHPackages                             romdim/yii2-bootstrap-material - 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. romdim/yii2-bootstrap-material

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

romdim/yii2-bootstrap-material
==============================

Composer package for implementing FezVrasta's bootstrap material design in Yii2.

v1.0.0(11y ago)2010.9k123MITPHP

Since Apr 16Pushed 8y ago4 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (7)Used By (3)

yii2-bootstrap-material
=======================

[](#yii2-bootstrap-material)

Composer package for implementing FezVrasta's bootstrap material design in Yii2

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

[](#installation)

Either run

```
composer global require "romdim/yii2-bootstrap-material:dev-master"

```

Or add

```
"romdim/yii2-bootstrap-material": "dev-master",

```

to the require section of your composer.json file.

You need npm and bower installed in order to use this package. Or you could just use a solution for not having those in your project:

-  (Yii 2 official Composer repository solution for Bower Assets)
-  (NPM/Bower Dependency Manager for Composer)

There is now another branch called material-0-2-2 which uses the FezVrasta's bootstrap material design Version 0.2.2 which seems better to me right now. You can use this branch by changing dev-master to dev-material-0-2-2 at the above code.

Usage
-----

[](#usage)

After installation, just add

```
    public $depends = [
        'yii\web\YiiAsset',
		'romdim\bootstrap\material\BootMaterialCssAsset',
		'romdim\bootstrap\material\BootMaterialJsAsset'
    ];

```

in your AppAsset

If you want to use the minified versions then, you can add:

```
$config = [
    ...
    'components' => [
        ...
        'assetManager' => [
            'class' => 'yii\web\AssetManager',
            'appendTimestamp' => true,
            'bundles' => [
                ...
                'romdim\bootstrap\material\BootMaterialCssAsset' => [
                    'css' => [
                        YII_ENV_DEV ? 'css/ripples.css' : 'css/ripples.min.css',
                        YII_ENV_DEV ? 'css/material.css' : 'css/material.min.css',
                    ]
                ],
                'romdim\bootstrap\material\BootMaterialJsAsset' => [
                    'js' => [
                        YII_ENV_DEV ? 'js/ripples.js' : 'js/ripples.min.js',
                        YII_ENV_DEV ? 'js/material.js' : 'js/material.min.js',
                    ]
                ]
                ...
            ]
        ]
        ...
    ]
    ...
]

```

You should add to the body the following code to have all effects working:

```
$(function() { $.material.init(); });

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~0 days

Total

5

Last Release

4051d ago

Major Versions

v0.1.3 → v1.0.02015-04-16

### Community

Maintainers

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

---

Top Contributors

[![romdim](https://avatars.githubusercontent.com/u/2739250?v=4)](https://github.com/romdim "romdim (26 commits)")[![anas-mattar](https://avatars.githubusercontent.com/u/11560142?v=4)](https://github.com/anas-mattar "anas-mattar (2 commits)")[![exileum](https://avatars.githubusercontent.com/u/2164083?v=4)](https://github.com/exileum "exileum (2 commits)")

---

Tags

yii2yiibootstrapmaterial

### Embed Badge

![Health badge](/badges/romdim-yii2-bootstrap-material/health.svg)

```
[![Health](https://phpackages.com/badges/romdim-yii2-bootstrap-material/health.svg)](https://phpackages.com/packages/romdim-yii2-bootstrap-material)
```

###  Alternatives

[kartik-v/yii2-helpers

A collection of useful helper functions for Yii Framework 2.0

883.0M29](/packages/kartik-v-yii2-helpers)[tecnocen/yii2-bootstrap-year-calendar

Yii2 widget for bootstrap-year-calendar plugin

1317.7k](/packages/tecnocen-yii2-bootstrap-year-calendar)

PHPackages © 2026

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