symfony/ai-open-ai-platform
OpenAI platform integration for Symfony AI Platform, adding GPT chat completions, embeddings, DALL-E image generation, Whisper audio transcription, and text-to-speech support.
TokenUsage model property enables per-request cost calculation, letting PMs budget, monitor, and forecast OpenAI spend per feature or customer — critical before committing to usage-based pricing.TokenUsage model).For Executives: "This package lets us leverage OpenAI’s cutting-edge AI—without hiring AI specialists or rewriting our PHP backend. Think of it as ‘AI plumbing’: we can flip a switch to add smart chatbots, auto-generated content, data insights, voice agents, and large-scale batch processing—faster and cheaper than building from scratch. The new cost-tracking capability means we can see exactly what each AI feature costs us, so pricing and budgets stay predictable. It’s MIT-licensed, maintained by the Symfony ecosystem, and integrates seamlessly with our existing stack. The ROI? Faster innovation, lower dev costs, predictable spend, and a competitive edge in AI-driven products."
For Engineering: *"The OpenAI platform bridge gives us a batteries-included, PHP-native way to interact with OpenAI’s APIs—no more writing custom clients or managing auth/retries. v0.14.0 adds:
TokenUsage model property: Accurate per-call cost computation wired straight into observability.For Product/Design: *"This tool lets us ship AI features without waiting for backend teams. For example:
For Security/Compliance:
*"The package handles API key management via environment variables or parameter_bag, but we’ll need to:
max_tokens limits) — now easier with TokenUsage-based cost tracking.How can I help you explore Laravel packages today?