标签: php laravel jwt-auth
我正在尝试为laravel(6.0.3)安装jwt-auth,但是作曲家给了我这个错误const { db } = require("./../db");
const { db } = require("./../db");
答案 0 :(得分:2)
新版本的JWT软件包被标记为laravel 6!
composer require tymon/jwt-auth:1.0.0-rc.5
答案 1 :(得分:1)
尝试
composer require tymon/jwt-auth 1.0.x-dev
引用此链接https://github.com/tymondesigns/jwt-auth/issues/1860