|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/config/ |
Upload File : |
<?php
return [
/*
|-------------------------------------
| Messenger display name
|-------------------------------------
*/
'name' => env('CHATIFY_NAME', 'Messenger'),
/*
|--------------------------------------------------------------------------
| Package path
|--------------------------------------------------------------------------
|
| This value is the path of the package or in other meaning, it is the prefix
| of all the registered routes in this package.
|
| e.g. : app.test/chatify
*/
'path' => env('CHATIFY_PATH', 'chats'),
/*
|-------------------------------------
| Routes configurations
|-------------------------------------
*/
'routes' => [
'prefix' => env('CHATIFY_ROUTES_PREFIX', 'chats'),
'middleware' => env(
'CHATIFY_ROUTES_MIDDLEWARE', [
'web',
'auth',
'XSS',
'pusher',
]
),
'namespace' => env('CHATIFY_ROUTES_NAMESPACE', 'App\Http\Controllers\vendor\Chatify'),
],
/*
|-------------------------------------
| Pusher API credentials
|-------------------------------------
*/
'pusher' => [
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => (array)[
'cluster' => env('PUSHER_APP_CLUSTER'),
'useTLS' => env('PUSHER_APP_USETLS'),
],
],
/*
|-------------------------------------
| User Avatar
|-------------------------------------
*/
'user_avatar' => [
'folder' => 'uploads/avatar',
'default' => 'avatar.png',
],
/*
|-------------------------------------
| Attachments
|-------------------------------------
*/
'attachments' => [
'folder' => 'attachments',
'download_route_name' => 'attachments.download',
'allowed_images' => (array)[
'png',
'jpg',
'jpeg',
'gif',
],
'allowed_files' => (array)[
'zip',
'rar',
'txt',
],
],
];