Download the PHP package veeqtoh/prompt-deck without Composer
On this page you can find all versions of the php package veeqtoh/prompt-deck. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download veeqtoh/prompt-deck
More information about veeqtoh/prompt-deck
Files in veeqtoh/prompt-deck
Package prompt-deck
Short Description Deck is a Laravel and PHP package for versioned, file-based AI prompt management with variable interpolation, performance tracking, A/B testing, and optional Laravel AI SDK integration.
License MIT
Homepage https://github.com/promptphp/deck
Informations about the package prompt-deck
Introduction
Prompt Deck helps you organise your AI Agents instructions as structured, version-controlled files, making it easy to iterate, compare, and activate prompt versions across your Laravel / PHP application. It provides variable interpolation, performance tracking, A/B testing, and optional seamless integration with the Laravel AI SDK.
Quick Start
Installation
Publish the config and migrations
Creating a Prompt
Use the Artisan command to create a versioned prompt
This creates the following structure
Edit resources/prompts/order-summary/v1/system.md with your prompt content. Use {{ $variable }} syntax for dynamic values:
Using a Prompt
Load and render prompts with the PromptDeck facade
Versioning
Create a new version of an existing prompt
Activate a specific version
Or load a specific version programmatically
Laravel AI SDK Integration
If you use the Laravel AI SDK, add the HasPromptTemplate trait to your agents. This way, you do not need to define the instructions() method as it is provided automatically.
Running make:agent will also auto-scaffold a matching prompt directory.
For the complete guide, see the full documentation below.
Documentation
Full documentation can be found on the Prompt Deck website or the docs directory on GitHub.
Contributing
Thank you for considering contributing to Prompt Deck! Please open an issue or submit a pull request on GitHub.
Code of Conduct
While we aren't affiliated with Laravel, we follow the Laravel Code of Conduct. We expect you to abide by these guidelines as well.
Security Vulnerabilities
If you discover a security vulnerability within Prompt Deck, please email Victor Ukam at [email protected]. All security vulnerabilities will be addressed promptly.
License
Prompt Deck is open-sourced software licensed under the MIT license.
Support
This library is created by Victor Ukam with contributions from the Open Source Community. If you've found this package useful, please consider sponsoring this project. It will go a long way to help with maintenance.
All versions of prompt-deck with dependencies
sebastian/diff Version ^7.0.0
nesbot/carbon Version ^3.0
illuminate/container Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0