Skip to content

Laravel 12 + PHP 8.3 Support ? #289

@pearl-wu

Description

@pearl-wu

composer require php-open-source-saver/jwt-auth

You are running Composer with SSL/TLS protection disabled.
./composer.json has been updated
Running composer update php-open-source-saver/jwt-auth
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- 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, ..., v2.8.1].
- lcobucci/jwt 5.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.14) does not satisfy that requirement.
- lcobucci/jwt[5.1.0, ..., 5.5.0] require ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.

  Alternatively you can require one of these packages that provide the extension (or parts of it):
  Keep in mind that the suggestions are automated and may not be valid or safe to use
  - paragonie/sodium_compat_ext_sodium
  - juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform
  - vufind/vufind A flexible discovery layer.

- 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.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.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.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.28] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[2.2.0, ..., 2.2.2] require illuminate/auth ^6|^7|^8.67|^9|^10|^11 -> 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.28, v11.0.0, ..., v11.44.0] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth[2.3.0, ..., 2.7.3] require illuminate/auth ^10|^11 -> found illuminate/auth[v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0] but these were not loaded, likely because it conflicts with another require.
- php-open-source-saver/jwt-auth 2.8.0 requires lcobucci/jwt ^5.0 -> satisfiable by lcobucci/jwt[5.0.0, ..., 5.5.0].
- php-open-source-saver/jwt-auth v2.8.1 requires lcobucci/jwt ^5.4 -> satisfiable by lcobucci/jwt[5.4.0, ..., 5.5.0].

To enable extensions, verify that they are enabled in your .ini files:
- C:\wamp64\bin\php\php8.3.14\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-sodium to temporarily ignore these required extensions.
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions