PHP code example of ws-cv-ua / faq
1. Go to this page and download the library: Download ws-cv-ua/faq library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ws-cv-ua / faq example snippets
'modules' => [
...
'faq' => [
'class' => 'wscvua\faq\Module',
'languages' => ['ru', 'en']
],
...
],
use wscvua\faq\widgets\FaqWidget;
echo FaqWidget::widget();