cloudflare / cloudflare-php

PHP library for the Cloudflare v4 API
BSD 3-Clause "New" or "Revised" License
621 stars 222 forks source link

Errors while install it on Laravel 8 and PHP 8 #175

Closed andreapollastri closed 3 years ago

andreapollastri commented 3 years ago

Hi, no way to solve several errors trying to install Cloudflare SDK into Laravel 8 within PHP8. Please... update your packages! Thank You

stayallive commented 3 years ago

Use this in your composer.json:

    "cloudflare/sdk": "dev-master#7db3d6e62c7ab8fa29780354e8d370c49939cdec",

But also yes, please cut a new release, almost 6 months since that commit is in master 😄

Cannonb4ll commented 3 years ago

Experiencing the same, would be great to have PHP 8 support ready to go. (As well as Laravel 8)

stayallive commented 3 years ago

1.1.7 was released 3 days ago which should work with Guzzle 7 and thus Laravel 8. If you have trouble with 1.1.7 show the error you are getting because it might not be the same.

Cannonb4ll commented 3 years ago

I see now indeed, thanks! Missed it for some reason.

andreapollastri commented 3 years ago

Solved, Thank You!