jwt-auth
jwt-auth copied to clipboard
Laravel 12 Support
There's currently a dependency conflict due to illuminate/support.
Works for me
📁 ~/tmp
$ composer create-project laravel/laravel test-l12
Creating a "laravel/laravel" project at "./test-l12"
Installing laravel/laravel (v12.0.1)
- Downloading laravel/laravel (v12.0.1)
- Installing laravel/laravel (v12.0.1): Extracting archive
Created project in /Users/neo/tmp/test-l12
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies
Lock file operations: 110 installs, 0 updates, 0 removals
- Locking brick/math (0.12.1)
…
- Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 110 installs, 0 updates, 0 removals
- Downloading laravel/framework (v12.0.1)
;
- Installing phpunit/phpunit (11.5.10): Extracting archive
41 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
INFO Discovering packages.
laravel/pail ................................................................................................................................ DONE
laravel/sail ................................................................................................................................ DONE
laravel/tinker .............................................................................................................................. DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/collision ........................................................................................................................ DONE
nunomaduro/termwind ......................................................................................................................... DONE
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force
INFO No publishable resources for tag [laravel-assets].
No security vulnerability advisories found.
> @php artisan key:generate --ansi
INFO Application key set successfully.
> @php -r "file_exists('database/database.sqlite') || touch('database/database.sqlite');"
> @php artisan migrate --graceful --ansi
INFO Preparing database.
Creating migration table ............................................................................................................. 1.48ms DONE
INFO Running migrations.
0001_01_01_000000_create_users_table ................................................................................................. 2.00ms DONE
0001_01_01_000001_create_cache_table ................................................................................................. 0.64ms DONE
0001_01_01_000002_create_jobs_table .................................................................................................. 1.54ms DONE
📁 ~/tmp
$ cd test-l12/
📁 ~/tmp/test-l12
$ composer require php-open-source-saver/jwt-auth
./composer.json has been updated
Running composer update php-open-source-saver/jwt-auth
Loading composer repositories with package information
Updating dependencies
Lock file operations: 4 installs, 0 updates, 0 removals
- Locking lcobucci/jwt (5.5.0)
- Locking namshi/jose (7.2.3)
- Locking php-open-source-saver/jwt-auth (2.8.0)
- Locking symfony/polyfill-php56 (v1.20.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 4 installs, 0 updates, 0 removals
- Downloading namshi/jose (7.2.3)
- Downloading lcobucci/jwt (5.5.0)
- Downloading php-open-source-saver/jwt-auth (2.8.0)
- Installing symfony/polyfill-php56 (v1.20.0)
- Installing namshi/jose (7.2.3): Extracting archive
- Installing lcobucci/jwt (5.5.0): Extracting archive
- Installing php-open-source-saver/jwt-auth (2.8.0): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
INFO Discovering packages.
laravel/pail ................................................................................................................................ DONE
laravel/sail ................................................................................................................................ DONE
laravel/tinker .............................................................................................................................. DONE
nesbot/carbon ............................................................................................................................... DONE
nunomaduro/collision ........................................................................................................................ DONE
nunomaduro/termwind ......................................................................................................................... DONE
php-open-source-saver/jwt-auth .............................................................................................................. DONE
83 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi --force
INFO No publishable resources for tag [laravel-assets].
No security vulnerability advisories found.
Using version ^2.8 for php-open-source-saver/jwt-auth
What's your actual issue?
Hey @mahdi429 can you please post your composer.json file and composer update output?