zaabr / yii2-pages
Creating, editing and managing publications on the site.
v1.0.1
2019-02-19 08:54 UTC
Requires
- php: >=7.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-03-20 04:19:41 UTC
README
Creating, editing and managing publications on the site.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist zaabr/yii2-pages "*"
or add
"zaabr/yii2-pages": "*"
or
composer require zaabr/yii2-pages
or add
to the require section of your `composer.json` file.
- Выполнить миграцию для создания таблиц в базе данных (консоль):
yii migrate --migrationPath=@zaabr/pages/migrations --interactive=0
Usage
Once the extension is installed, simply use it in your code by :
<?= \zaabr\pages\AutoloadExample::widget(); ?>```