aungwinthant / apilogger

Small laravel package for viewing api logs which can be used in debugging.
MIT License
346 stars 61 forks source link

Error while installing this package #39

Closed IAmShafqatAli closed 3 years ago

IAmShafqatAli commented 3 years ago

Hi, I tired installing the package but I got following error.

Class AWT\Http\Exceptions\InvalidApiLogDriverException located in D:/laragon/www/eazy-customs-api/vendor/awt/apilogger/src\Exceptions\InvalidApiLogDriverException.php does not comply with psr-4 autoloading standard. Skipping.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In ApiLogServiceProvider.php line 59:

  Class 'AWT\Http\Exceptions\InvalidApiLogDriverException' not found

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
IAmShafqatAli commented 3 years ago

Hi, I tired installing the package but I got following error.

Class AWT\Http\Exceptions\InvalidApiLogDriverException located in D:/laragon/www/eazy-customs-api/vendor/awt/apilogger/src\Exceptions\InvalidApiLogDriverException.php does not comply with psr-4 autoloading standard. Skipping.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In ApiLogServiceProvider.php line 59:

  Class 'AWT\Http\Exceptions\InvalidApiLogDriverException' not found

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

php artisan optimize:clear let me solve the problem.

soonseek commented 3 years ago

thanks a lot.