tymondesigns/jwt-auth

Class 'Lcobucci\JWT\Builder' not found

オープン

#1,460 opened on 2018/01/22

 (8 件のコメント) (1 件のリアクション) (0 人の担当者)PHP (1,542 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (11,481 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Subject of the issue

First, I'm sorry for reporting a bug on 1.0.*@dev . Looks like that's the widely used branch for some of the shortcomings on releases.

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 5.5.32
Package version 1.0.0-dev
PHP version 7.1.2

Steps to reproduce

  • Persistent on boot.

Expected behaviour

not throw the error experienced.

Actual behaviour

I get Class 'Lcobucci\JWT\Builder' not found Here:

protected function registerLcobucciProvider()
{
    $this->app->singleton('tymon.jwt.provider.jwt.lcobucci', function ($app) {
        return new Lcobucci(
            new JWTBuilder(),
            new JWTParser(),
            $this->config('secret'),
            $this->config('algo'),
            $this->config('keys')
        );
    });
}

コントリビューターガイド