| Recommend this page to a friend! |
| Packages of Victor John Ukam | Prompt Deck | README.md | Download |
|
|||||||||||||||||||||
<p align="center"><img src="/docs/public/logo.svg" alt="Prompt Deck Logo"></p> <p align="center"> <a href="https://packagist.org/packages/veeqtoh/prompt-deck"><img src="https://img.shields.io/packagist/v/veeqtoh/prompt-deck?style=flat-square" alt="Latest Version on Packagist"></a> <a href="https://packagist.org/packages/veeqtoh/prompt-deck"><img src="https://img.shields.io/packagist/dt/veeqtoh/prompt-deck?style=flat-square" alt="Total Downloads"></a> <a href="https://packagist.org/packages/veeqtoh/prompt-deck"><img src="https://img.shields.io/packagist/php-v/veeqtoh/prompt-deck?style=flat-square" alt="PHP from Packagist"></a> <a href="https://github.com/veeqtoh/prompt-deck/blob/master/LICENSE"><img src="https://img.shields.io/github/license/veeqtoh/prompt-deck?style=flat-square" alt="GitHub license"></a> </p> IntroductionPrompt 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 StartInstallation
Publish the config and migrations Creating a PromptUse the Artisan command to create a versioned prompt
This creates the following structure
Edit
Using a PromptLoad and render prompts with the
VersioningCreate a new version of an existing prompt
Activate a specific version
Or load a specific version programmatically
Laravel AI SDK IntegrationIf you use the Laravel AI SDK, add the
Running For the complete guide, see the full documentation below. DocumentationFull documentation can be found on the Prompt Deck website or the docs directory on GitHub. ContributingThank you for considering contributing to Prompt Deck! Please open an issue or submit a pull request on GitHub. Code of ConductWhile we aren't affiliated with Laravel, we follow the Laravel Code of Conduct. We expect you to abide by these guidelines as well. Security VulnerabilitiesIf you discover a security vulnerability within Prompt Deck, please email Victor Ukam at victorjohnukam@gmail.com. All security vulnerabilities will be addressed promptly. LicensePrompt Deck is open-sourced software licensed under the MIT license. SupportThis 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 along way to help with maintenance. |