nikitakls / yii2-faq-module
Yii2 FAQ extension
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- nikitakls/yii2-editor-md: *
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: ~2.0.0
- zelenin/yii2-slug-behavior: ~1.5.1
This package is not auto-updated.
Last update: 2025-03-30 07:13:12 UTC
README
FAQ extension for Yii2
Installation
This module in development, use in production at your own risk
The preferred way to install this extension is through composer.
composer require nikitakls/yii2-faq-module
Usage
Once the extension is installed, simply use it in your code by:
- Apply migrations
yii migrate -p=@nikitakls/faq/migrations
- Configure module
Add module in config file application: For frontend
'modules' => [ 'faq' => 'nikitakls\faq\Faq', ],
For backend
'modules' => [ 'faq' => [ 'class' => \nikitakls\faq\Faq::class, 'isBackend' => true, ], ],
- Work with Faq Module
You can add hint widget in you pages
<?= \nikitakls\faq\widgets\Aid::widget([ 'code' => 'hint-unique-code', ]) ?>