symfony/ai-scaleway-platform
Symfony AI bridge for Scaleway’s Generative APIs. Connect to Scaleway chat and OpenAI-compatible endpoints to run AI-powered conversations and completions from Symfony apps, using Scaleway’s platform and documentation-backed integration.
Provider abstraction (v0.8.0), allowing seamless switching between Scaleway, OpenAI, or other compatible providers. Critical for vendor diversification and resilience in AI-dependent workflows, reducing risk of lock-in.spatie/laravel-ai or custom bridges.guzzlehttp/guzzle, openai/php) and seeks cost savings or regional compliance (e.g., EU data residency via Scaleway’s endpoints).Provider abstraction (v0.8.0) with Laravel via spatie/laravel-ai or custom integration.spatie/laravel-ai or custom service providers.symfony/ai (≥v0.8.0) or spatie/laravel-ai without significant refactoring.DeltaInterface support (e.g., for Laravel Echo or Pusher integrations).laravel-ai/laravel-ai v0.x) that aren’t compatible with Symfony AI’s provider system.For Executives: *"This package lets us replace OpenAI with Scaleway’s cheaper, OpenAI-compatible AI APIs in Laravel—cutting costs by 30–50% while keeping the same developer experience. Here’s why it’s a strategic move:
For Engineering: *"This is a Symfony AI plugin for Scaleway’s Generative APIs—a drop-in replacement for OpenAI in Laravel, but with cost savings. Key advantages:
openai/php or custom Guzzle calls with symfony/ai-scaleway-platform via the Provider interface (v0.8.0). Your existing OpenAI calls will work with zero code changes in most cases (e.g., chat, embeddings).spatie/laravel-ai (v1.0+) as a bridge to Symfony AI, or bind the Scaleway client directly in Laravel’s service container.// config/services.php
'scaleway' => [
'api_key' => env('SCALEWAY_API_KEY'),
'region' => 'fr-par',
];
symfony/ai (≥v0.8.0). Mitigate by using spatie/laravel-ai or abstracting the provider layer.spatie/laravel-http-middlewares for retries.
Recommendation: Start with a chatbot MVP (e.g., Livewire component) to validate performance before scaling to embeddings or tool calls."*For Product Managers: *"This package enables us to test Scaleway’s AI APIs at minimal risk while aligning with our cost-reduction and innovation goals. Here’s how to prioritize:
$client->chat()->create(...)->then(fn($response) => Log::info('Tokens used:', $response->usage));
How can I help you explore Laravel packages today?