samwilson / phpflickr

A PHP wrapper for the Flickr API, including OAuth.
https://packagist.org/packages/samwilson/phpflickr
GNU General Public License v2.0
39 stars 15 forks source link

Allow User-Agent to be set in the constructor #65

Open tacman opened 3 months ago

tacman commented 3 months ago

The user-agent default to the php library, but it might be better to be the calling application.

It'd be slightly easier to make that happen in the constructor rather than only via a separate call.

I can submit a PR.

If you do bump the minimum PHP version to only supported PHP, we can add types to many of the properties, too.