plathir/yii2-smart-settings

dev-master 2021-05-12 06:17 UTC

This package is auto-updated.

Last update: 2024-10-12 13:30:03 UTC


README

Yii2 extension for settings to any module

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist plathir/yii2-settings "*"

or add

"plathir/yii2-settings": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \plathir\settings\AutoloadExample::widget(); ?>```