PHPackages                             dmgpage/yii2-materialize - 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. dmgpage/yii2-materialize

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

dmgpage/yii2-materialize
========================

Integration of Material Design into Yii2

0331PHP

Since Nov 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DMGPage/yii2-materialize)[ Packagist](https://packagist.org/packages/dmgpage/yii2-materialize)[ RSS](/packages/dmgpage-yii2-materialize/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

 [ ![](https://camo.githubusercontent.com/7236dce63811bc260182dff17971695a4cadd5dcf27f3ba0974fd006e6d65a14/68747470733a2f2f6d6174657269616c697a656373732e636f6d2f7265732f6d6174657269616c697a652e737667) ](https://materializecss.com/)

Materialize Extension for Yii 2
===============================

[](#materialize-extension-for-yii-2)

[![Build Status](https://camo.githubusercontent.com/93f0d2bb5f9098b63df309a2168dc829b67f22a36cbd413bdf0ae8204267edda/68747470733a2f2f7472617669732d63692e6f72672f444d47506167652f796969322d6d6174657269616c697a652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DMGPage/yii2-materialize)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a1988a25fb67b7be390f3ac67fc5ca9057c16f968c86b1a752b8a775399ef161/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f444d47506167652f796969322d6d6174657269616c697a652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/DMGPage/yii2-materialize/?branch=master)[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)[![license](https://camo.githubusercontent.com/e636768cae2e2f48fb62a8ee4fc6839fc285a19eddc53547458c64e016e53e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c4943454e43452d4253442d2d332d2d436c617573652d626c75652e737667)](https://packagist.org/packages/dmgpage/yii2-materialize)

This is the Materialize CSS framework extensions for [Yii framework 2.0](http://www.yiiframework.com). [Materialize](https://materializecss.com/) is a modern responsive CSS framework based on Material Design by Google.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist dmgpage/yii2-materialize:dev-master

```

or add

```
"dmgpage/yii2-materialize": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

To use Materialize CSS extensions in your app, integrate MaterializePluginAsset. There is two ways how to achieve this. Register the asset in the main layout:

```
// @app/views/layouts/main.php

\dmgpage\yii2materialize\assets\MaterializePluginAsset::register($this);
// further code
```

or as a dependency in your app wide AppAsset.php

```
// @app/assets/AppAsset.php

public $depends = [
    'dmgpage\yii2materialize\assets\MaterializePluginAsset',
    // more dependencies
];
```

Using Materialize through Yii asset manager allows you to minimize its resources and combine with your own resources when needed.

1. [Grid](https://github.com/DMGPage/yii2-materialize/blob/master/doc/grid.md)
2. [Blockquotes](https://github.com/DMGPage/yii2-materialize/blob/master/doc/blockquotes.md)
3. [Badges](https://github.com/DMGPage/yii2-materialize/blob/master/doc/badges.md)
4. [Icons](https://github.com/DMGPage/yii2-materialize/blob/master/doc/icons.md)
5. [Buttons](https://github.com/DMGPage/yii2-materialize/blob/master/doc/buttons.md)
6. [Waves](https://github.com/DMGPage/yii2-materialize/blob/master/doc/waves.md)
7. [Breadcrumbs](https://github.com/DMGPage/yii2-materialize/blob/master/doc/breadcrumb/README.md)
8. [Card](https://github.com/DMGPage/yii2-materialize/blob/master/doc/card/README.md)
9. [Tabs](https://github.com/DMGPage/yii2-materialize/blob/master/doc/tabs.md)
10. [Collections](https://github.com/DMGPage/yii2-materialize/blob/master/doc/collections/README.md)
11. [Forms](https://github.com/DMGPage/yii2-materialize/blob/master/doc/forms/README.md)

License
-------

[](#license)

**yii2-materialize** is released under the BSD-3-Clause License. See the bundled `LICENSE.md` for details.

 [ ![](https://camo.githubusercontent.com/139ef36f303be8bd3f07c2b14b0fc97fceebde8adc8e6d504c49a1514b1c254b/687474703a2f2f7777772e646d67706167652e6c762f696d672f6c6f676f2d626c61636b2e706e67) ](http://www.dmgpage.lv/)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1797023ded42ac8554956b5aed7bed5092bf984263180f87faf007e0b7438ef?d=identicon)[DMGPage](/maintainers/DMGPage)

---

Top Contributors

[![DMGPage](https://avatars.githubusercontent.com/u/3495137?v=4)](https://github.com/DMGPage "DMGPage (10 commits)")

### Embed Badge

![Health badge](/badges/dmgpage-yii2-materialize/health.svg)

```
[![Health](https://phpackages.com/badges/dmgpage-yii2-materialize/health.svg)](https://phpackages.com/packages/dmgpage-yii2-materialize)
```

###  Alternatives

[vinelab/url-shortener

URL shortening the easy way.

6217.2k](/packages/vinelab-url-shortener)

PHPackages © 2026

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