Getting started
Quick start
Mount the Inner Threads Blade widget in an authenticated Laravel layout and send your first message.
Add the widget
After installation, add the component to a Blade layout used by signed-in users.
<x-inner-threads::widget />
Open the Inner Threads launcher in the lower corner. The component uses the Laravel session and CSRF token from your app.
Put chat on a page
Use inline mode to make the inbox part of a page layout.
<x-inner-threads::widget
mode="inline"
label="Team chat"
accent="#303e70"
/>
Send a first message
- Sign in to your host app and open the inbox.
- Search for a user by name and select their result.
- Send a message. In a separate browser session, sign in as the recipient and open the chat.
Polling works by default. The demo guide links to a sample workspace you can use without configuring a host app.
Create a group
Use the three-dot inbox menu and choose New group. Enter a group name, choose members, and select Create group. You become the owner. New members see messages sent after they join by default. Change that behavior in group configuration.
Use an existing guard
For a separate staff guard, align the route middleware and Blade check.
'routing' => ['middleware' => ['web', 'auth:staff']],
<x-inner-threads::widget :authenticated="auth('staff')->check()" />
Put the routing setting in config/inner-threads.php. Configure users and workspaces to match your host's directory and tenant boundaries. If your host also restricts who can initiate contact by role, see Contact visibility.