2017 © Pedro Peláez
 

library yii-statics

Easy publishing css and js in Yii project.

image

happyproff/yii-statics

Easy publishing css and js in Yii project.

  • Saturday, September 27, 2014
  • by happyproff
  • Repository
  • 1 Watchers
  • 0 Stars
  • 101 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

yii-statics

License, (*1)

Easy publishing css and js in Yii project., (*2)

Использование

Зависимость в composer.json:, (*3)

"happyproff/yii-statics": "*"

Регистрация компонента приложения:, (*4)

'components' => [
    ...,
    'statics' => [
        'class' => 'happyproff\YiiStatics\YiiStatics',
        'assetsAlias' = 'app.assets', // необязательно
    ],
    ...
]

Добавление css:, (*5)

Yii::app()->statics->css('shop/cart'); // Опубликует файл app/assets/shop/cart.css
Yii::app()->statics->js('services'); // Опубликует файл app/assets/services.js

The Versions

27/09 2014

dev-master

9999999-dev

Easy publishing css and js in Yii project.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Stanislav Gamayunov

27/09 2014

0.0.4

0.0.4.0

Easy publishing css and js in Yii project.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Stanislav Gamayunov

27/09 2014

0.0.3

0.0.3.0

Easy publishing css and js in Yii project.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Stanislav Gamayunov

27/09 2014

0.0.2

0.0.2.0

Easy publishing css and js in Yii project.

  Sources   Download

MIT

The Requires

 

by Stanislav Gamayunov

27/09 2014

0.0.1

0.0.1.0

Easy publishing css and js in Yii project.

  Sources   Download

MIT

The Requires

 

by Stanislav Gamayunov