cnam / security-jwt-service-provider

Silex security jwt service provider (silex 1.x and 2.x version) allow oauth2 header
GNU General Public License v2.0
60 stars 40 forks source link

Composer #2

Closed tuxity closed 9 years ago

tuxity commented 9 years ago

Hello !

I don't know if it's a problem of mine, but I'm unable to add this project in my composer. Due to a confusion with pimple:

$ composer require cnam/security-jwt-service-provider
Using version 0.0.6.* for cnam/security-jwt-service-provider
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: pimple/pimple[v3.0.0, v1.1.1].
    - Can only install one of: pimple/pimple[v3.0.0, v1.1.1].
    - cnam/security-jwt-service-provider 0.0.6 requires pimple/pimple 3.0.* -> satisfiable by pimple/pimple[v3.0.0].
    - Installation request for cnam/security-jwt-service-provider 0.0.6.* -> satisfiable by cnam/security-jwt-service-provider[0.0.6].
    - Installation request for pimple/pimple == 1.1.1.0 -> satisfiable by pimple/pimple[v1.1.1].

Installation failed, reverting ./composer.json to its original content.

My require in my composer.json contain only this atm:

"require": {
    "silex/silex": "~1.2",
    "doctrine/dbal": "~2.5",
    "monolog/monolog": "1.x",
    "firebase/php-jwt": "~1.0"
  }
cnam commented 9 years ago

Hello. This provider work with silex version 2.0

tuxity commented 9 years ago

But the version version 2 isn't stable yet right ?

tuxity commented 9 years ago

Indeed I tried, installation work, but not my code anymore :D