Configurations
You can find package's configuration file at config/chatify.php in your application, and will find the following properties that you can modify inside it:
Display Name
This value is the name for the messenger displayed in the UI
'name' => env('CHATIFY_NAME', 'Chatify Messenger'),Routes' Configurations
This value is package's routes' configurations
'routes' => [
'prefix' => env('CHATIFY_ROUTES_PREFIX', 'chatify'),
'middleware' => env('CHATIFY_ROUTES_MIDDLEWARE', ['web','auth']),
'namespace' => env('CHATIFY_ROUTES_NAMESPACE', 'Chatify\Http\Controllers'),
],prefixis the prefix of the routes in this package, so you can access the messenger from this value by going to/chatify.middlewareis the middleware array applied on the routes of this package.namespaceis the routes' controllers namespace.
Pusher configurations
From here you can change pusher's configurations,
User Avatar
This is user's avatar configurations
folderis the default folder name located in the storage to store users' avatars in.defaultis the default user avatar image, before uploading a new one.
Attachments
This is attachments configurations
folderis the default folder name located in the storage to store attachments in.download_route_nameis name of the route to download the attachments.allowed_imagesis the default allowed images to be uploaded.allowed_filesis the default allowed files to be uploaded.
Last updated
Was this helpful?