mesd/phantasos-client-bundle
A Symfony bundle that wires the Phantasos PHP client into your application, handling service configuration and dependency injection so you can inject the client and call the Phantasos API from your controllers and services with minimal setup.
Architecture fit
*-bundle suffix, the MESD vendor namespace, and the absence of a Laravel ServiceProvider/Facade/config/*.php layout all point to the Symfony DI-extension pattern (DependencyInjection/<Vendor>Extension, Configuration tree, Resources/config/services.yml).Integration feasibility
php and symfony/framework-bundle constraints.--ignore-platform-reqs is not acceptable for a production dependency — it defers failures to runtime.Technical risk
MESD vendor suggest a medical-education/content-delivery service, but the actual capability set is unconfirmed — this is the largest unknown for product fit.Key questions
composer.json actually pin?Recommendation gate: do not adopt as a dependency. Treat as a reference implementation pending answers to 1, 2, and 4.
Stack fit
ServiceProvider, publishable config/phantasos.php, an Http/Saloon-backed client class, typed DTOs, and a Phantasos facade. Consume the same remote contract the bundle targets.services.yaml, Symfony 6/7 constraints), but expect a non-trivial rewrite rather than a constraint bump.Migration path
Compatibility
composer.json; validate in CI across the supported matrix.Sequencing Extraction spike → go/no-go → client scaffold → contract tests → hardening → flag rollout. The spike is the cheapest way to kill or confirm the dependency; fund nothing beyond it until the API-stability question is answered.
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?