jwt-auth
jwt-auth copied to clipboard
cannot install this package in laravel 8.32
Subject of the issue
cannot install this package in laravel 8.32
Your environment
Q | A |
---|---|
Bug? | yes |
New Feature? | no |
Framework | Laravel / Lumen |
Framework version | 5.8.* |
Package version | 2.* |
PHP version | 7.4 |
Steps to reproduce
Expected behaviour
can be support laravel 8
Actual behaviour
when use laravel 8, cannot install this package.
I was able to install the library in a Laravel v8.40 without any issue and use PHP 7.4.13 on a Ubuntu 20.04LTS server. I simply followed this article: https://medium.com/@ripoche.b/create-a-spa-with-role-based-authentication-with-laravel-and-vue-js-ac4b260b882f (on the mentioned Laravel version, 8.40). I used composer require tymon/jwt-auth:dev-develop
I think something goed wrong with tagging the branches/PR's as the dev-develop
seems the most recent working version. Which version did you try ?
2.0.x-dev
When execute composer require tymon/jwt-auth:2.0.x-dev --prefer-source
with laravel/framework:^8.54
gets an error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires tymon/jwt-auth 2.0.x-dev -> satisfiable by tymon/jwt-auth[2.0.x-dev].
- tymon/jwt-auth 2.0.x-dev requires illuminate/contracts ^6|^7 -> found illuminate/contracts[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
The dependencies will be updated??