安装时可能不支持高版本,我使用了composer require laravel/passport ~4.0安装后执行迁移时nothing to migrate,需要手动注册P...
安装时可能不支持高版本,我使用了composer require laravel/passport ~4.0
安装后执行迁移时nothing to migrate,需要手动注册Provider, 在config/app.php中providers中添加Laravel/Passport/PassportServiceProvider::class。
执行php artisan passport:install时提示“There are no commands defined in the “passport” namespace.” 需要执行cache:clear和config:cache 更新缓存。
其他待更新