2017 © Pedro Peláez
 

yii2-extension yii2-bootstrap-material

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

image

kingzeus/yii2-bootstrap-material

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

  • Sunday, August 2, 2015
  • by kingzeus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

yii2-bootstrap-material

Composer package for implementing FezVrasta's bootstrap material design in Yii2 https://github.com/FezVrasta/bootstrap-material-design, (*1)

Installation

Either run, (*2)

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

Or add, (*3)

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

to the require section of your composer.json file., (*4)

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., (*5)

Usage

After installation, just add, (*6)

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

in your AppAsset, (*7)

If you want to use the minified versions then, you can add:, (*8)

$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-fullpalette.css' : 'css/material-fullpalette.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',
                    ]
                ]
                ...
            ]
        ]
        ...
    ]
    ...
]

The Versions

02/08 2015

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

16/04 2015

dev-material-version-0-2-2

dev-material-version-0-2-2

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

03/04 2015

1.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

03/04 2015

0.1.3

0.1.3.0

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

03/04 2015

0.1.2

0.1.2.0

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

02/04 2015

0.1.1

0.1.1.0

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material

02/04 2015

0.1

0.1.0.0

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

  Sources   Download

MIT

The Requires

 

yii2 bootstrap yii material