okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

Problem with composer require #127

Open MeerKatDev opened 2 years ago

MeerKatDev commented 2 years ago
- Only one of these can be installed: illuminate/collections[dev-master, v8.0.0, ..., 8.x-dev], laravel/framework[v8.50.0, 8.x-dev]. laravel/framework replaces illuminate/collections and thus cannot coexist with it.
- okta/sdk 1.3.0 requires illuminate/collections 8.29.0 -> satisfiable by illuminate/collections[v8.29.0].
- Root composer.json requires okta/sdk ^1.3 -> satisfiable by okta/sdk[1.3.0].
- Root composer.json requires laravel/framework ^8.50 -> satisfiable by laravel/framework[v8.50.0, 8.x-dev].
serhiibuniak-okta commented 2 years ago

@MeerKatDev Thanks for posting this issue, our php devs will take a look and respond here.

MeerKatDev commented 2 years ago

Just as a follow up, I created a fork with laravel/framework:8.50 in place of illuminate/collections and it works fine.

Jadheer2hats commented 2 years ago

Your requirements could not be resolved to an installable set of packages.

Problem 1

I'm facing similar issue, how do we resolve this? @MeerKatDev may I know how you resolved this?

MeerKatDev commented 2 years ago

@Jadheer2hats as I wrote just above, I created a fork

MeerKatDev commented 2 years ago

@serhiibuniak-okta any news?

chuckienorton commented 2 years ago

I'm having the same (or similar at least) dependencies error with laravel 8.49.00

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires okta/sdk ^1.3 -> satisfiable by okta/sdk[1.3.0].
    - okta/sdk 1.3.0 requires symfony/yaml ^3.2|^4.3 -> found symfony/yaml[v3.2.0-BETA1, ..., 3.4.x-dev, v4.3.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

@serhiibuniak-okta Any word back from the php-devs?

monde commented 2 years ago

/cc @bretterer

chuckienorton commented 2 years ago

Thanks @monde / @bretterer

Looking closer at the composer requirements, I believe the latest official release is 1.3.0 from March 2021. However, there are a commits ( #124 ) in development branch that make this laravel ^8 compatible. I'd prefer to not use @dev if possible on production.

Any word on a future official release?