qbhy / laravel-api-auth

可以自定义的 laravel API 鉴权包。
55 stars 15 forks source link

laravel 5.6 安装包错误 #3

Closed guiyatao closed 6 years ago

guiyatao commented 6 years ago

:\php\laravel\laravel λ composer require 96qbhy/laravel-api-auth Using version ^4.0 for 96qbhy/laravel-api-auth ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover

In ProviderRepository.php line 208:

Class 'Modules\Blog\Providers\BlogServiceProvider' not found

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json to its original content.

guiyatao commented 6 years ago

5.5没问题

qbhy commented 6 years ago

image 应该是你5.6的项目应用了一个不存在的服务提供者导致的,并不是 api-auth 包的问题哦。

guiyatao commented 6 years ago

image 这个命名空间错了导致安装不上

qbhy commented 6 years ago

这个问题已经修复了,谢谢反馈。 @guiyatao