tritech/threadwire-laravel
Laravel integration for Threadwire by Tritech, providing familiar service provider wiring and configuration to add Threadwire functionality to your app. It follows Laravel conventions so setup stays simple and your code remains clean and maintainable.
Threadwire::events() is well-suited to a scheduled polling job and local event store for systems without a public webhook endpoint or as a webhook catch-up mechanism. chatHistory() supports read-only chat synchronization, support tooling, CRM enrichment, or audit/export use cases.has_more, filter by types and instance_id, and upsert events idempotently. Chat history requires access to the linked phone and stricter privacy review.after cursor opaque and stable? Are event IDs unique and idempotent? Does chatHistory() support pagination, date filters, or media metadata? What permissions are required for chat history? Does polling require a configured webhook? What Laravel/PHP versions are supported?threadwire_events table plus an threadwire_cursors table. Use instance_id filters to support multi-tenant or multi-instance deployments. Keep chat history behind a feature flag and explicit authorization.has_more and next_after; 5) add observability for lag, failures, and duplicate rates; 6) expose chatHistory() only after privacy and permission review; 7) roll out gradually.How can I help you explore Laravel packages today?