alex-kalanis/kw_styles

Styles storage in KWCMS

v3.0.0 2024-04-09 00:07 UTC

This package is auto-updated.

Last update: 2024-12-09 01:40:24 UTC


README

Build Status Scrutinizer Code Quality Latest Stable Version Minimum PHP Version Downloads License Code Coverage

Store styles for simplified render after everything has been prepared.

PHP Installation

composer.phar require alex-kalanis/kw_styles

(Refer to Composer Documentation if you are not familiar with composer)

PHP Usage

1.) Use your autoloader (if not already done via Composer autoloader). Use example as reference.

2.) Initialize styles by calling "\kalanis\kw_styles\Styles::init()" in bootstrap

3.) Create render which uses "\kalanis\kw_styles\Styles::getAll()".

4.) Call "\kalanis\kw_styles\Styles::want()" in your controllers.

5.) Just run your site.