Documentation

Host integration

Uninstalling

Remove Inner Threads while retaining chat history, or permanently purge its data and private files.

Remove the package and keep history

Use this flow for a temporary removal, or to retain chats for a future reinstall. Back up the database, all private storage disks used by Inner Threads, encryption keys, and published overrides. Remove the widget mounts, manually registered providers and other app code that depends on the package. Clear cached routes and configuration before removing the dependency.

Terminal
php artisan route:clear
php artisan config:clear
php artisan view:clear
composer remove teamkrope/inner-threads

Composer removes the dependency. Keep the messaging tables, Laravel migration records, private attachments and any configuration needed to resume. A reinstall uses the same database, workspace identifiers, user identifiers, storage disks and encryption keys. Install a compatible version, run its pending migrations, and restore the widget mount. Test a saved chat and attachment before restoring access.

Permanently remove data

Use this flow for an entire Inner Threads installation on a database connection. The purge covers all workspaces on that connection. The command requires a checkout or release that includes the lifecycle commands and runs while the package is installed.

  1. Back up the database, private files and encryption keys. Schedule a maintenance window and stop jobs and app instances that can write Inner Threads data.
  2. Set INNER_THREADS_ENABLED=false and clear route and configuration caches. If your published config/inner-threads.php overrides enabled, set it to false there as well. Restart long-running workers with the disabled config.
  3. Preview the affected connection, tables, attachment records and migration records. If the host has multiple database connections, use --database=connection-name on both commands.
Terminal
php artisan inner-threads:purge
php artisan inner-threads:purge --execute

The first command previews the scope. The second requests confirmation before deleting the files recorded by the package, the package tables and its exact migration records. A host foreign key pointing to a package table blocks the purge. If a file fails to delete, resolve the disk or permission issue and retry before removing the package. Keep the package disabled until cleanup succeeds.

Afterward, remove the widget and app integration, run composer remove teamkrope/inner-threads, and remove any published package files you no longer need. Published config, translations and static assets are managed by the host. Review package-specific backups and any older untracked files according to your retention policy. If you reinstall after a purge, migrations create an empty messaging schema.