Around the time of PSR-7 and a bit earlier, there was discussion of
handling Hypermedia Links. A small working group split off, led by
Evert Pot, to investigate the matter further. It was active for a while
but then died down, but by then had developed a good starting point for
a Link PSR.
To that end, I have put together a proposal for a Link PSR, based mostly
on Evert Pot's research from earlier this year. (Links in the meta
doc.) I would like to put it forward for consideration as a PSR, and
already have a Coordinator (MWOP) and Sponsor (Evert) lined up.
Unfortunately this would end up with me being editor of PSR-13 after
all, but, eh, whatcha gonna do.
PR:
https://github.com/php-fig/fig-standards/pull/683
More readable versions:
https://github.com/Crell/fig-standards/blob/psr-link/proposed/links.md
https://github.com/Crell/fig-standards/blob/psr-link/proposed/links-meta.md
Proof of concept implementation, as part of a larger library I built
recently:
https://github.com/Crell/HtmlModel
(Note the use of with*() pseudo-mutator interfaces as well. We really
ought to develop a better name for those things.)
My hope is that as it is a fairly small scope and most of the work has
already been done we can get it completed in relatively short order (by
FIG standards, anyway). There is an outstanding list of todo items in
the metadoc, which we'd work through during Draft phase.
Baring any major pushback, I would ask MWOP to start an entrance vote in
a week or two.
I now open the floor for comments, and jump out of the way of the trap
door. (The one that just opened in the floor, I mean.)
--Larry Garfield