My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it (jakeasmith.com)
89 pointsby jakeasmith2 days ago11 comments
Sander_Marechal 2 hours ago
There is nothing as permanent as a temporary fix that works.
jakeasmith 2 days ago
Author here, happy to answer any questions. I never imagined a polyfill for http_build_url would gain so much traction. After 12 years, deprecating it feels like the right move, especially given the new options from the community and PHP itself.
HackerThemAll 23 minutes ago
The JavaScript world is littered with stuff comparing to which your patch seems like a complex project. See those examples:
https://www.npmjs.com/package/is-odd
https://www.npmjs.com/package/is-even
https://www.npmjs.com/package/left-pad
JaggerJo 9 minutes ago
what a broken ecosystem.. The crazy thing is not that the package exists, but that it is used by JS devs.
laruss5 2 hours ago
For a package with that kind of install base, is there a final release that prints the migration options in a deprecation notice? People will find it years from now through old Stack Overflow answers.
TimWolla 2 hours ago
The package is marked as abandoned on Packagist [1]
> This package is abandoned and no longer maintained. No replacement package was suggested.
Both adding it as a dependency using composer and installing it from a lockfile results in:
$ composer require jakeasmith/http_build_url
[…]
Package jakeasmith/http_build_url is abandoned, you should avoid using it. No replacement was suggested.
[…]
$ rm -r vendor/
$ composer install
[…]
- Installing jakeasmith/http_build_url (1.0.2): Extracting archive
Package jakeasmith/http_build_url is abandoned, you should avoid using it. No replacement was suggested.
[…]
[1] https://packagist.org/packages/jakeasmith/http_build_urlcrumb1e 22 minutes ago
Reading this made me really nostalgic. I cut my teeth in web/software dev in the Laravel 5.x days, and it's quite jarring comparing the day-to-day we have now with back then!
amhoab 2 hours ago
We used to work together at AOL. Glad to see you on here; I hope you're doing great!
yard2010 2 hours ago
Reading this threw me back to 2014 - how was working for AOL back then?
Codefrontier 2 hours ago
Love you kept it alive this long
hdjrudni an hour ago
It hasn't been updated in 11 years. Not sure I'd call that "keeping it alive".