dimanche 5 février 2017

Not able to install JWT with composer Laravel using OS X

I am using AngularJs with Laravel. I want to install JWT for handling authentication for my application

I am following this tutorial:

http://ift.tt/1FNj4m6

My composer.json:

 "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.2.*",
        "doctrine/dbal": "v2.4.2",
        "tymon/jwt-auth": "0.5.*"
    },

When running composer update I am getting an error

tymon/jwt-auth 0.5.10 requires namshi/jose 5.0.* -> satisfiable by namshi/jose[5.0.0, 5.0.1, 5.0.2].

I tried installing namshi/jose 5.0.* via composer

It gives Error

namshi/jose 5.0.2 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it.

I checked php -i | grep OpenSSL

Got this

OpenSSL support => enabled
OpenSSL Library Version => LibreSSL 2.2.7
OpenSSL Header Version => LibreSSL 2.2.7
OpenSSL support => enabled

Seems OpenSSL support is enabled

Also tried to follow this

http://ift.tt/2keGxNA

But nothing helps.

Please suggest!

Thanks in advance



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kFVc4P
via IFTTT

Aucun commentaire:

Enregistrer un commentaire