Skip to content

Conversation

@zarv1k
Copy link

@zarv1k zarv1k commented Jun 24, 2025

Hi!

I've found your library quite interesting. Thank you.

This PR adds support for DI PSR-11 compatible container of Yii 3 framework - https://github.com/yiisoft/di

Please let me know if you are interested to adding the Yii DI container support in your library. If not, just feel free to reject this PR.

I've already implemented all the stuff supported in release-2x branch. It's covered by UT as well as all the containers the library supports ATM.

Would be great to hear your thoughts about that :)

Thank you.

zarv1k added 16 commits June 3, 2025 10:58
… classes for Yii container support, add test
…ly defined), implement definition of AutowireableFactory, AutowireableInvoker and ActiveProfiles
…ion support using native Yii DI's property injection for public and writable properties and Yii's tags based workaround for private and readonly ones. Fixes typo in factory class name. Remove some todos
# Conflicts:
#	composer.json
#	composer.lock
* commit '6b2e6f5088a36c9e55d84be9d97d524c131f3531':
  Turn on assert in CI/CD (cspray#409)
@zarv1k
Copy link
Author

zarv1k commented Jun 24, 2025

I also wanted to mention:I know that my code has to be refactored a bit and there are plenty of warnings that has to be fixed

@cspray
Copy link
Owner

cspray commented Jul 29, 2025

Hi, thank you so much for your contribution! Sorry, I haven't taken a look at this yet. I'll give this a review soon, we can work on clearing up any warnings, and get this merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants