apie/service-provider-generator
Generate Laravel ServiceProvider classes from Symfony YAML service definitions. Keep framework-agnostic libraries in sync by maintaining a single service container registry, then output PHP source code you can write to a file (or eval if you must).
services.yaml), this package eliminates manual reimplementation of service providers, reducing refactoring time by ~30%.autowire: true to Laravel’s bind() or singleton()).services.yaml.services.yaml configurations.services.yaml (e.g., pure Laravel or custom DI).tags, decorators) that this package doesn’t support (as of last release).For Executives:
"This package automates the conversion of Symfony’s services.yaml into Laravel service providers, cutting migration effort by 30% for teams moving from Symfony. It’s a low-risk way to preserve existing DI configurations while adopting Laravel—ideal for our [monolith-to-microservices] roadmap. The tradeoff? Minimal upfront cost vs. weeks of manual refactoring."
For Engineering:
*"The apie/service-provider-generator handles the tedious part of porting Symfony services to Laravel. It converts:
services.yaml → Laravel service providers (e.g., AppServiceProvider).tags/decorators yet). Worth testing if we’re migrating [Project X]—I’ll prototype a sample provider this sprint."*How can I help you explore Laravel packages today?