Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC]: Add Symfony DependencyInjection as container #174

Open
froschdesign opened this issue Jan 23, 2024 · 2 comments
Open

[RFC]: Add Symfony DependencyInjection as container #174

froschdesign opened this issue Jan 23, 2024 · 2 comments
Labels

Comments

@froschdesign
Copy link
Member

RFC

Q A
Proposed Version(s) x.y.0
BC Break? No

Goal

The Symfony DependencyInjection component is already supported by the mezzio-installer but not listed and documented in the Mezzio documentation:

@boesing
Copy link
Member

boesing commented Jan 23, 2024

mh, we do also have an "unofficial" laminas doctrine module. since we are not the maintainers of those container implementations, all we should do imho is to reference those packages while those packages provide documentation on how to use them.
Its okay for me to have it available in the skeleton but besides that, I rather avoid having too many details around in documentation. But these are just my 2 cents.

@froschdesign
Copy link
Member Author

@boesing
The problem is that we needed to kill Pimple and Aura.Di, which means that only laminas-servicemanager is listed and documented in the documentation as the only PSR container implementation. So the feature list on the homepage does not work anymore:

Dependency Injection

Make your code flexible and robust, using the dependency injection container of your choice.

https://docs.mezzio.dev/mezzio/#features

And the same for the related introduction for containers:

To facilitate this and allow you as a developer to choose the container you prefer, mezzio typehints against PSR-11 Container, and throughout this manual, we attempt to show using a variety of containers in examples.

https://docs.mezzio.dev/mezzio/v3/features/container/intro/#containers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants