This is a proposed fix for the error (see below) that I encountered while attempting to use yajra/laravel-oci8 with the Laravel Zero micro-framework. The solution is to test whether the Laravel AuthServiceProvider class exists before attempting to use it.
Illuminate\Contracts\Container\BindingResolutionException
Target class [auth] does not exist.
at vendor/illuminate/container/Container.php:940
936▕
937▕ try {
938▕ $reflector = new ReflectionClass($concrete);
939▕ } catch (ReflectionException $e) {
➜ 940▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
This is a proposed fix for the error (see below) that I encountered while attempting to use yajra/laravel-oci8 with the Laravel Zero micro-framework. The solution is to test whether the Laravel AuthServiceProvider class exists before attempting to use it.