unsplash-php icon indicating copy to clipboard operation
unsplash-php copied to clipboard

When will a PHP 8.1 release be made?

Open HughDuggan opened this issue 3 years ago • 6 comments

Hi,

I note that there is already a fix for a PHP 8.1 incompatibility and it was merged to 'master' in April 2022 [https://github.com/unsplash/unsplash-php/commit/ae77fb8f9c5845579883853b5b7ad08a8654abf1]. But the last general release (3.2.1) was in January 2022.

Are there any timescales for a new release (3.2.2?) which will include this fix and will therefore work better on PHP 8.1?

HughDuggan avatar Aug 16 '22 14:08 HughDuggan

Asking the same question as well, trying to use the package with PHP 8.1 is proving to be problematic due to the incessant deprecation warnings.

Robertkeli avatar Sep 06 '22 00:09 Robertkeli

I hit this problem too, but for now using something like the foloowing in composer.json seems to work fine...

    "repositories": [
        {
          "type": "git",
          "url": "https://github.com/unsplash/unsplash-php.git"
        }
    ],
    "require": {
        "unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7",
    }

daledavies avatar Apr 12 '23 20:04 daledavies

I hit this problem too, but for now using something like the foloowing in composer.json seems to work fine...

    "repositories": [
        {
          "type": "git",
          "url": "https://github.com/unsplash/unsplash-php.git"
        }
    ],
    "require": {
        "unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7",
    }

This worked for me as well; thanks kindly!

danlafreniere avatar Jul 06 '23 16:07 danlafreniere

I hit this problem too, but for now using something like the foloowing in composer.json seems to work fine...

    "repositories": [
        {
          "type": "git",
          "url": "https://github.com/unsplash/unsplash-php.git"
        }
    ],
    "require": {
        "unsplash/unsplash": "dev-master#429ad0daa4f498b9ed42fe4f0053a44fb47645b7",
    }

This worked for me as well; thanks kindly!

You're welcome, glad I could help 😀

daledavies avatar Jul 07 '23 21:07 daledavies