Method Illuminate\Foundation\ComposerScripts::postAutoloadDump is not callable, can not call post-autoload-dump script
@php artisan package:discover
There are no commands defined in the "package" namespace.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1