Download the PHP package elliottlawson/converse-prism without Composer
On this page you can find all versions of the php package elliottlawson/converse-prism. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elliottlawson/converse-prism
More information about elliottlawson/converse-prism
Files in elliottlawson/converse-prism
Package converse-prism
Short Description Seamless integration between Laravel Converse and Prism PHP for AI conversations
License MIT
Informations about the package converse-prism
Converse Prism - Seamless AI Integration for Laravel Converse
Managing conversation context is hard. Managing AI provider APIs is harder. Doing both is a nightmare.
Converse Prism bridges Laravel Converse with Prism PHP to make AI conversations effortless. Write $conversation->toPrismText() and your entire conversation history flows to any AI providerโOpenAI, Anthropic, Google, or beyond. No manual message formatting. No provider lock-in. Just conversations that work.
๐ Documentation
View the full documentation - Comprehensive guides, API reference, and examples.
The Magic
Without Converse Prism, you're juggling two complex systems:
With Converse Prism, it's seamless:
That's it. Your conversation history becomes your AI context. Automatically.
Features
- ๐ Automatic Message Passing - Conversation history flows to AI providers without manual formatting
- ๐ฏ Direct Prism Integration - First-class support for all Prism features and providers
- ๐ Elegant Streaming - Real-time responses with automatic chunk collection and storage
- ๐ ๏ธ Tool & Function Support - Handle complex AI workflows with automatic message type management
- ๐ Complete Metadata - Token counts, model info, and response metadata stored automatically
- ๐ Drop-in Enhancement - Works with all existing Converse code, just adds Prism superpowers
Installation
The Prism package will be installed automatically. Run the migrations:
Quick Start
Update your User model to use the Converse Prism trait:
Start having AI conversations:
Requirements
- PHP 8.2+
- Laravel 11.0+
- Converse ^1.0
- Prism ^0.6
License
The MIT License (MIT). Please see License File for more information.
All versions of converse-prism with dependencies
elliottlawson/converse Version ^0.2.0
illuminate/support Version ^11.0|^12.0