PSR-11 and the next steps - Service Provider Interop

110 views
Skip to first unread message

Benjamin Mack

unread,
Jan 8, 2020, 2:37:34 PM1/8/20
to php...@googlegroups.com
Hi list,

since we (TYPO3 CMS) are continuing our path in modernizing our PHP stack, we've been looking for ways to standardize our container implementation. While it's good to have PSR-11 for Service Containers - and we utilize this with our latest version - we had some discussions around the actual service providers (factories, extensions), and my _guess_ is that it was a too much to put into PSR-11 and to tackle container PSR first, and then "at some point" see if service provider PSR would be feasible.

We found the service-provider package (air quotes EXPERIMENTAL, https://github.com/container-interop/service-provider/) to be extremely cool, but were reluctant to depend on the package, but would really love to see such a (IMHO common) need to be provided as a PHP Standards Recommendation.

So, my question is: Is there an interest (either by the original PSR-11 gang, CC or by somebody else in this list) to invest this topic further? Or did I just miss some communication that this isn't something that is feasible in moving forward?

Thanks in advance for any hints and clarification!

Benni Mack,
TYPO3 Project Lead
https://typo3.org - inspire people to share.

Marco Aurélio Deleu

unread,
Jan 9, 2020, 6:01:53 AM1/9/20
to PHP Framework Interoperability Group
I would be interested in a Service Provider PSR inline with PSR 11. I remember discussing this with Napoli at the last PHP Serbia conference and it was something he thought about pursuing as well.

Alex Makarov

unread,
Jan 9, 2020, 7:04:54 AM1/9/20
to php...@googlegroups.com
I'm interested in participating in the working group as well.
> --
> You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/564e65d1-d7f0-4d37-b583-1209b16325c9%40googlegroups.com.

Paul Dragoonis

unread,
Jan 9, 2020, 8:27:35 AM1/9/20
to php...@googlegroups.com
As per last year, I'm still keen to continue to contribute to this. 

I have already implemented and solved this situation for the laravel project. 

I gave my client container interop and interoperable service providers and respective config, and brought this to laravel projects  

This was to share code between symfony, laravel and a bespoke product, and it increased performance massively too since laravel was quite slow in its lookups until my impl.

I also solved this issue with the PPI Framework project in the past, and the objective of that project was to solve these things in advance, and give them to real world clients,  prior to it popping up in FIG and the wider community.

As such I have the experience and drive to work on this and see it through to release.

If you'd like me involved then let me know. In turn I will show up at the next get together we have (online) to talk about technical details, implementation and next steps. 

Just send me the invite.

Many thanks,
Paul






--
You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.

David Négrier

unread,
Jan 18, 2020, 6:30:37 AM1/18/20
to PHP Framework Interoperability Group
Hey Benjamin,

I'm the PSR-11 co-editor and service-provider author here (with Matthieu Napoli).
I tried to start a service-provider PSR about 2 years ago (based on the work started with container-interop/service-provider) but I failed to setup a team of people motivated enough to work on this (believe me, it requires some time).

I'm still very interested in working on this topic but I have limited time right now. Many of us have experimented quite a bit and I'm sure we have the collective knowledge for a great PSR. I don't have time to lead the subject but if anyone manages to start a working group, I'm interested in helping!

++
David.
To unsubscribe from this group and stop receiving emails from it, send an email to php...@googlegroups.com.

Xedin Unknown

unread,
Jun 4, 2020, 6:00:46 AM6/4/20
to PHP Framework Interoperability Group
I've now created an issue, hoping to restart work on this. Although I haven't been contributing to the PSR per se, I have been working quite a lot with SP.
But please, can we not use Google Groups? It's atrocious! Is there a FIG Slack, or something like that?


On Wednesday, January 8, 2020 at 8:37:34 PM UTC+1, Benjamin Mack wrote:

Xedin Unknown

unread,
Jun 4, 2020, 6:06:52 AM6/4/20
to PHP Framework Interoperability Group
Also, I cannot find the original workgroup members list anywhere. Does anybody remember where it was posted?

On Wednesday, January 8, 2020 at 8:37:34 PM UTC+1, Benjamin Mack wrote:
Reply all
Reply to author
Forward
0 new messages