Documentation

Host integration

Upgrading

Upgrade the package or migrate from the old development name.

Upgrade a stable install

Back up the database and private files, then update the host’s Composer requirement.

Terminal
composer require "teamkrope/inner-threads:^1.3"
php artisan migrate

v1.3.0 adds no migrations. Run pending migrations from earlier releases, including tkit_user_preferences if upgrading from before v1.2.0. Upgrading preserves existing conversations, messages, and file paths. Rebuild cached config and routes using your normal deployment workflow.

Review configuration and assets

Existing published configuration wins over package defaults. Review configuration for the new attachment limits, people-only search default, optional message search, voice and link previews, browser notification opt-in, branding, and the deletion window.

The widget uses versioned Laravel asset URLs by default. For manually served assets, republish the complete bundle as part of the upgrade.

Terminal
php artisan vendor:publish --tag=inner-threads-assets --force

Confirm the new version in composer.lock, then verify that an existing user can open a thread and preview a private attachment.

Commit both Composer files. Deploy the tested lockfile with composer install, run migrations on the intended database, and rebuild any caches the host uses. Before an upgrade, back up the database and private attachments and preserve the encryption keys. If a deployment fails after migrations ran, use a tested database restore or an upgrade-specific recovery plan.

See Install and upgrade errors for locked dependency conflicts and Repair an installation for a missing package, stale assets, or incomplete discovery.

Enable contact rules

Keep the host's published settings and add the visibility block only if you want role filtering. Set up an app resolver and rebuild the configuration cache through your normal deployment workflow. The feature uses existing host roles and conversation memberships. See Contact visibility.

Upgrade a development checkout

For the placeholder package unknown017/laravel-messages, back up data, pause chat traffic, and run php artisan optimize:clear. Replace the old Composer requirement with teamkrope/inner-threads in the same update.

Move custom settings from config/unknown017-messages.php to config/inner-threads.php. Switch to <x-inner-threads::widget /> and update any custom frontend mounts. Preserve workspace IDs, user IDs, storage and encryption keys. The former encryption and realtime environment variables are accepted when the corresponding INNER_THREADS_* values are absent.

Rename existing tables

Run all outstanding migrations so the ledger can carry forward the legacy table names and add the current schema. A rollback that restores old table prefixes also needs the matching older package code.