1. Go to this page and download the library: Download open20/amos-comments 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/ */
open20 / amos-comments example snippets
'modules' => [
'comments' => [
'class' => 'open20\amos\comments\AmosComments',
'modelsEnabled' => [
/**
* Add here the classnames of the models where you want the comments
* (i.e. 'open20\amos\events\models\Event')
*/
],
// the following are mandatory fields
'displayNotifyCheckbox' => true, // if the notify checkbox in the accordion must be shown (if hidden, the notify checkbox is selected)
'accordionOpenedByDefault' => false, // if the accordion must be opened by default
],
],