When I removed a dependency from composer.json
and executed composer update
, the packet was deleted caffeinated/shinobi
, which I had to replace with a similar one, since that gave me many problems.
But now when executing composer dumpautolad
I get an error of:
In ProviderRepository.php line 208:
Class 'Caffeinated\Shinobi\ShinobiServiceProvider' not found
I already deleted the providers component from the config/app.php file and also look for every call of that component in my controllers and models and everything where I call it.
I already run commands like php artisan config:cache
and cache:clear
and any command I run keeps throwing me the error:
In ProviderRepository.php line 208:
Class 'Caffeinated\Shinobi\ShinobiServiceProvider' not found
This is my provider:
'providers' => [
/*
* Laravel Framework Service Providers...
*/
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Database\DatabaseServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
Illuminate\Notifications\NotificationServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
Illuminate\Redis\RedisServiceProvider::class,
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
/*
* Package Service Providers...
*/
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
jeremykenedy\LaravelRoles\RolesServiceProvider::class,
/*
* Package Laravel Collective
*/
Collective\Html\HtmlServiceProvider::class,
Barryvdh\DomPDF\ServiceProvider::class,
Backup\BackupServiceProvider::class,
],
Now nothing works in my project, does anyone know what I should do to permanently delete said component?
Try deleting the files
packages.php
andservices.php
inside thebootstrap/cache
.