jwt-auth icon indicating copy to clipboard operation
jwt-auth copied to clipboard

为啥还要引入qeq66/jwt

Open isszz opened this issue 3 years ago • 1 comments

我看composer里面还require了一个代码一样的.....

{
    "name": "thans/tp-jwt-auth",
    "description": "thinkphp  jwt auth composer",
    "type": "library",
    "require": {
        "php": "^7.0 || ^8.0",
        "qeq66/jwt": "3.3.*",
        "topthink/framework": "^5.1.10 || ^6.0.0"
    },
    "license": "MIT",
    "authors": [
        {
            "name": "Thans",
            "email": "[email protected]"
        }
    ],
    "autoload": {
        "psr-4": {
            "thans\\jwt\\": "src"
        },
        "files": [
            "src/helper.php"
        ]
    },
    "extra": {
        "think": {
            "services": [
                "thans\\jwt\\Service"
            ],
            "config": {
                "jwt": "config/config.php"
            }
        }
    },
    "minimum-stability": "dev"
}

isszz avatar Sep 20 '22 16:09 isszz

qeq66/jwt forked from lcobucci/jwt 代码不一样,原来是requirel cobucci/jwt的,为了兼容PHP8而引入的

qeq66 avatar Sep 21 '22 01:09 qeq66

lcobucci/jwt 十几天前更新改了可以php8,可以不用这个了。。方便同步获取更新..还是换回去吧 看这里

WongYueKeung avatar Sep 25 '22 07:09 WongYueKeung

@WongYueKeung

该Pull requests未合并到主分支上,官方包还是无法使用

qeq66 avatar Sep 26 '22 03:09 qeq66