FAQ (frequently asked questions) module for Yii2
Предпочтительно через composer:
composer require pantera-digital/yii2-faq "@dev"
Или добавьте в composer.json
"pantera-digital/yii2-faq": "@dev"
и выполните команду
composer update
php yii migrate/up --migrationPath=@pantera/faq/migrations
'modules' => [
'faq' => [
'class' => \pantera\faq\Module::class,
],
],
'modules' => [
'faq' => [
'class' => \pantera\faq\admin\Module::class,
'access' => ['admin'],
],
],