zaabr / yii2-pages
Creating, editing and managing publications on the site.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-04-20 00:25:56 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(); ?>```