Fremantle
· PhpFlickr · Flickr · programming ·
I am not a very good maintainer of PhpFlickr, mainly because there are too many things in life. But today, thanks to the patient prodding of Tac Tacelosky, I got a new release out. It's 6.0.0! (Up from 5.1.0.) The main thing that makes it a major release is that it drops support for PHP earlier than 8.2. This makes a bunch of things easier, and future updates will be able to make even more improvements I hope. (Thus far, there's not much to see, but it does install without complaint in newer Symfony projects).
PhpFlickr is a bit of an odd model of API wrapper library, although also quite common I think. It tries to replicate everything that you can do with the API as classes and methods (basically each API endpoint group is a class, and the methods are the endpoints). These often feel like nothing more than a slightly maintenance-heavy way to get autocompletion on API calls! But there are a few things that PhpFlickr does that do make it easier than directly calling the API: mainly around authentication, and file uploading. Those things feel very much worth having a package for, and I use them in a few projects.