> For the complete documentation index, see [llms.txt](https://chatify.munafio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatify.munafio.com/v1.2.x/configurations.md).

# 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

```php
'name' => env('CHATIFY_NAME', 'Chatify Messenger'),
```

## Routes' Configurations

This value is package's routes' configurations&#x20;

```php
'routes' => [
    'prefix' => env('CHATIFY_ROUTES_PREFIX', 'chatify'),
    'middleware' => env('CHATIFY_ROUTES_MIDDLEWARE', ['web','auth']),
    'namespace' => env('CHATIFY_ROUTES_NAMESPACE', 'Chatify\Http\Controllers'),
],
```

* `prefix` is the prefix of the routes in this package, so you can access the messenger from this value by going to `/chatify`.
* `middleware` is the middleware array applied on the routes of this package.
* `namespace` is the routes' controllers namespace.

## Pusher configurations

From here you can change pusher's configurations,

```php
'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

This is user's avatar configurations

```php
'user_avatar' => [
    'folder' => 'users-avatar',
    'default' => 'avatar.png',
],
```

* `folder` is the default folder name located in the storage to store **users' avatars** in.
* `default` is the default user avatar image, before uploading a new one.

## Attachments

This is attachments configurations

```php
'attachments' => [
    'folder' => 'attachments',
    'download_route_name' => 'attachments.download',
    'allowed_images' => (array) ['png','jpg','jpeg','gif'],
    'allowed_files' => (array) ['zip','rar','txt'],
],
```

* `folder` is the default folder name located in the storage to store **attachments** in.
* `download_route_name` is name of the route to download the attachments.
* `allowed_images` is the default allowed images to be uploaded.
* `allowed_files` is the default allowed files to be uploaded.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://chatify.munafio.com/v1.2.x/configurations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
