{{ $tone }}).v1 in staging, v2 in production) via CLI or config.make:prompt) and metadata (e.g., descriptions, roles).instructions() for agents via HasPromptTemplate trait.Adopt if:
instructions()).Look elsewhere if:
For Executives: "Prompt Deck lets us treat AI prompts like code—versioned, testable, and reusable. This reduces risk in AI-driven features (e.g., chatbots, agents) by enabling A/B testing and performance tracking, while cutting development time with Laravel AI SDK integration. For example, we can iterate on customer support prompts without redeploying the entire app, and roll back to previous versions if needed. It’s a low-effort way to professionalize our AI infrastructure."
For Engineers: *"This package solves three key pain points:
resources/prompts/order-summary/v2/system.md) with dynamic variables ({{ $tone }})—no more hardcoded strings in controllers.HasPromptTemplate to auto-generate agent instructions, slashing boilerplate.prompt:activate) or track performance metrics out of the box.
It’s lightweight, Laravel-native, and integrates seamlessly with our existing AI workflows. Setup is as simple as composer require promptphp/deck and php artisan make:prompt."*How can I help you explore Laravel packages today?