PHP code example of lyrasoft / faq

1. Go to this page and download the library: Download lyrasoft/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/ */

    

lyrasoft / faq example snippets


$this->lang->loadAllFromVendor('lyrasoft/faq', 'ini');

// Category
$menu->link('常見問題分類')
    ->to($nav->to('category_list', ['type' => 'faq']))
    ->icon('fal fa-sitemap');

// Portfolio
$menu->link('常見問題管理')
    ->to($nav->to('faq_list'))
    ->icon('fal fa-question');