A month of PHP FIG #1: October 2017
As part of the effort to communicate better what’s going on within the PHP FIG we’re starting a new series of ‘A month of PHP FIG’ articles to be released towards the end of each month, each being a 2 minute read or less.
This month has been a busy month for the PHP FIG. We’ve kickstarted a couple of PSRs with PSR-12¹ being formally re-introduced into the draft stage; internally we’ve started the voting for the secretary elections for two secretary posts; and lots of ideas have been flowing to try and get a number of PSRs moving again.
Discussion / PSR Updates
- PSR-12¹ has come forward for an entrance vote as a matter of formality as is nearing completion but needs a formal Working Group post-FIG 3.0 transition. Link
- There was a discussion as to whether or not new PSRs should require PHP 7 or PHP 5 still. The consensus was it should be based on individual circumstances of a PSR. Link
- It was agreed that PSR-18² will not cater to async http client requests due to the lack of a Promise PSR standard. Link
- Some solid ideas have come up for how PSR-9³ and PSR-10⁴ could be used by Composer.
New PSR Ideas
This month, due to a number of discussions, particularly some person at SymfonyLive San Francisco, there have been a huge number of new PSR ideas being floated.
- Internationalisation (Oscar Otero)
An interface to be able to use the same translations in different libraries e.g template engines. This will likely hit the mailing list to form a WG within a few days.
- Cache Tagging (Tobias Nyholm & Nicolas Grekas)
An interface for interacting with PSR-6⁵/16⁶ cache items’ tags.
- Interface for State Resettable classes (Nicolas Grekas)
The ability to reset the state on classes and having an interfaced method that can be called to provide this functionality
- Deprecations (Nicolas Grekas)
For handling deprecations of classes and methods to trigger errors/notifications
- Auto-updates (@mlh407 — Michael Hess)
A number of ideas have surfaced relating to the automatic updates space relating to the signing/verification of tags & releases.
- Container & Dependency Injections Future PSRs(Nicolas Grekas, Matthieu Napoli, & David Negrier)
A number of potential PSRs relating to what’s next for container and dependency injection interoperability.
If you’d like to know more about any of these, get involved, they are relevant to your project or you think you have specialist knowledge on any of these topics, please contact myself (Michael Cullum) or the Editor/Suggester mentioned.
: PSR-12: Extended Coding Style Guide.
: PSR-18: HTTP Client
: PSR-9: Security Advisories
: PSR-10: Security Reporting Process
: PSR-6: Cache Interface
: PSR-16: Simple Cache Interface