I've just installed oauth2 to add Role-based Permissions to my application based on Lumen 5.4 But when I try to execute
php artisan vendor:publish
[Symfony\Component\Debug\Exception\FatalThrowableError] Call to undefined method Laravel\Lumen\Application::bindShared()
can anyone help me?