Closed nepster-web closed 9 months ago
It seems this package is dead...
It seems this package is dead...
The package it's not dead, we just support the Laravel 10x version which is THE OFFICAL release so far until this date now I checked out (on Tuesday, 20th February at 23:19).
Once Laravel 11 OFICIAL is released we'll work on migrating others.
Otherwise, if you're in some reason to rush this feature you're welcome to open the PR to contribute, or feel more than free to fork the package and maintain your version with your specific needs.
So far this issue will be closed since it's not a real issue (and your screenshot seems very straightforward about the problem).
I'll work on the PR (already did it for a couple of projects).
It's actually a good thing to start on this, because due to the wide range of PHP and Laravel version and outdated versions of gha actions and similar, there's a bit more to do then just bumping version numbers in composer.
any updates? laravel 11 has been released
any updates? laravel 11 has been released
done
I get the same issue on my laravel 11 app:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- php-open-source-saver/jwt-auth[0.1.0, ..., 0.3.6] require illuminate/support 4.2.* -> found illuminate/support[v4.2.1, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[0.3.7, ..., 0.4.3] require illuminate/support ~4.0 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[0.5.0, ..., 0.5.12] require illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[1.0.0, ..., 1.0.2] require php ^5.5.9|^7.0 -> your php version (8.2.16) does not satisfy that requirement.
- php-open-source-saver/jwt-auth[1.0.03, ..., 1.1.1] require illuminate/auth ^5.2|^6|^7|^8 -> found illuminate/auth[v5.2.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[1.2.0, ..., 1.4.0] require illuminate/auth ^6|^7|^8 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth 1.4.1 requires illuminate/auth ^6|^7|^8|^9 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[1.4.2, 2.0.0] require illuminate/auth ^6|^7|^8.67|^9 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.67.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth 2.1.0 requires illuminate/auth ^6|^7|^8.67|^9|^10 -> found illuminate/auth[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.67.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.3] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth 2.2.0 requires nesbot/carbon ^1.0|^2.0 -> found nesbot/carbon[1.0.0, ..., 1.39.1, 2.0.0, ..., 2.72.3] but the package is fixed to 3.0.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.
- Root composer.json requires php-open-source-saver/jwt-auth * -> satisfiable by php-open-source-saver/jwt-auth[0.1.0, ..., 0.5.12, 1.0.0, ..., 1.4.2, 2.0.0, 2.1.0, 2.2.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require php-open-source-saver/jwt-auth:*" to figure out if any version is installable, or "composer require php-open-source-saver/jwt-auth:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
The problem is the locked php version to v8.0 @Messhias
The problem is the locked php version to v8.0
I don't think so, this lib uses "php": "^7.4|^8.0",
which means "all 8.* releases".
I think the culprit is this one:
- php-open-source-saver/jwt-auth 2.2.0 requires nesbot/carbon ^1.0|^2.0 -> found nesbot/carbon[1.0.0, ..., 1.39.1, 2.0.0, ..., 2.72.3] but the package is fixed to 3.0.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.
You are using/requiring nestbot/carbon:^3 but this package does not.
Laravel 11 supports both 2 and 3, so it seems we need to make sure jwt-auth does, too.
@christophstockinger see https://github.com/PHP-Open-Source-Saver/jwt-auth/pull/236 for a fix