# How to Orchestrate Multi-Call Conversations with an LLM and Twilio Conversation Memory with PHP

DevFeed: [How to Orchestrate Multi-Call Conversations with an LLM and Twilio Conversation Memory with PHP](<https://devfeed.tech/articles/how-to-orchestrate-multi-call-conversations-with-an-llm-and-twilio-conversation-memory-with-php-26246.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/product/orchestrate-multi-call-conversations-with-llm-twilio-conversation-memory-php>)

Author: Amanda Lange, Matthew Setter

Published: 2026-09-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Twilio](<https://devfeed.tech/sources/twilio-blog.md>)

Topics: [AI chatbot continuity](<https://devfeed.tech/topics/ai-chatbot-continuity.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Conversational AI](<https://devfeed.tech/topics/conversational-ai.md>), [twilio api](<https://devfeed.tech/topics/twilio-api.md>), [PHP](<https://devfeed.tech/topics/php.md>)

Tags: [call](<https://devfeed.tech/tags/call.md>), [conversation-memory](<https://devfeed.tech/tags/conversation-memory.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [memory](<https://devfeed.tech/tags/memory.md>), [php](<https://devfeed.tech/tags/php.md>), [twilio](<https://devfeed.tech/tags/twilio.md>), [voice-api](<https://devfeed.tech/tags/voice-api.md>)

## AI overview

The tutorial sets up a PHP service with Open Swoole to preserve caller context, preferences, and action history across separate inbound calls using Twilio Conversation Memory. It lists prerequisites: a Twilio account with a voice-capable number, Composer, PHP 8.5 or later, an OpenAI API key, and ngrok. The setup introduces Twilio, PHP Dotenv, OpenAI, and Monolog packages and directs readers to create a Memory Store in the Twilio Console. It cautions that Conversation Memory uses machine learning, is not intended for sensitive information, and is available only in the new Twilio Console. The excerpt ends during store setup.

## Source excerpt

In this tutorial you'll make a PHP service using Open Swoole that retains caller context, preferences and action history across multiple separate inbound calls.