kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
981 stars 162 forks source link

Upgrade the following libraries to the latest versions #184

Closed alexweb closed 11 months ago

alexweb commented 1 year ago

Describe the feature you would like to see

Currently I had to downgrade the following libs in my project to install your library:

Can we upgrade them?

jeromegamez commented 1 year ago

While psr/http-message 2.x will be generally supported by the SDK in the next release, it will not be installed due to google/cloud-core (https://github.com/googleapis/google-cloud-php-core/blob/main/composer.json) not (yet) supporting it.

Aside from that, downgrading the libraries you mentioned should not be a problem unless another library you're using drops support for the 1.x versions.

Nonetheless, I'll create a new release shortly.

alexweb commented 1 year ago

Cool. thanks for quick reply!

jeromegamez commented 11 months ago

The latest release removes the par/http-message dependency, so this shouldn't be a blocker anymore.

I also proposed a PR to widen the version constraint in https://github.com/googleapis/google-cloud-php/pull/6338. This and https://github.com/googleapis/google-cloud-php/pull/6249 should enable you to upgrade the dependencies in your project 🤞🏻