Error removing dependency from laravel

3

When I removed a dependency of composer.json and executed composer update , the packete caffeinated/shinobi was eliminated, which weighed to replace it with a similar one since it gave me a lot of problems.

But now when I run composer dumpautolad I get an error of:

  

In ProviderRepository.php line 208:

     

Class 'Caffeinated \ Shinobi \ ShinobiServiceProvider' not found

I have already deleted the providers component from the config / app.php file and also look for any call of that component in my drivers and models and wherever I call it.

I already run commands like php artisan config:cache and cache:clear and any command I execute still votes 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 of my project works, does anyone know what I should do to have that component permanently erased?

    
asked by Shassain 29.11.2018 в 01:02
source

1 answer

3

Try removing the packages.php and services.php files from the bootstrap/cache directory.

    
answered by 29.11.2018 / 01:20
source