PHP code example of open20 / amos-chat
1. Go to this page and download the library: Download open20/amos-chat 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-chat example snippets
'chat' => [
'class' => 'open20\amos\chat\AmosChat',
'immediateNotificationForce' => false, //changed property (default was true)
],
'chat' => [
'class' => 'open20\amos\chat\AmosChat',
'formRedactorButtons' => ['image', 'file']
],