PHP Classes

File: config/talk.php

Recommend this page to a friend!
  Classes of Nahid Bin Azhar  >  Laravel Talk  >  config/talk.php  >  Download  
File: config/talk.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Talk
Manage a multiple user conversation system
Author: By
Last change: update config for oembed
Merge branch 'master' into master
Merge pull request #146 from nazmulpcc/master

Remove extra query to determine if record exists
Date: 6 months ago
Size: 1,097 bytes
 

Contents

Class file image Download
<?php
return [
   
'user' => [
       
'model' => 'App\User',
       
'foreignKey' => null,
       
'ownerKey' => null,
    ],

   
'broadcast' => [
       
'enable' => true,
       
'app_name' => 'talk-example',
       
'driver' => env('TALK_BROADCAST_DRIVER', 'pusher'), // pusher or laravel-websockets
       
'pusher' => [
           
'app_id' => env('PUSHER_APP_ID', ''),
           
'app_key' => env('PUSHER_APP_KEY', ''),
           
'app_secret' => env('PUSHER_APP_SECRET', ''),
           
'options' => [
               
'cluster' => env('PUSHER_APP_CLUSTER', 'ap2'),
               
'encrypted' => env('PUSHER_APP_ENCRYPTION', false),
               
'host' => '127.0.0.1',
               
'port' => env('LARAVEL_WEBSOCKETS_PORT', 6001),
               
'scheme' => 'http',
               
'wsHost' => '127.0.0.1',
               
'wsPort' => env('LARAVEL_WEBSOCKETS_PORT', 6001),
               
'forceTLS' => false,
               
'disableStats' => true
           
]
        ],
    ],


   
'oembed' => [
       
'enabled' => false,
       
'url' => '',
       
'key' => ''
   
]
];

For more information send a message to info at phpclasses dot org.