lundi 13 novembre 2017

Laravel service provider class not found in forked vender

I was developing with a repo that worked fine in Laravel. When I forked the repo, I now get this error:

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'DevIT\Hasoffers\Laravel\Providers\HasoffersServiceProvider' not found

I tried commenting out the provider line in app.php, then ran these, and afterward uncommented the line but these didn't help:

composer dump-autoload
php artisan clear-compiled
php artisan optimize

Here is the config for that in composer.json:

"require": {
    "devit/hasoffers-php-client": "dev-master",
    "devit/hasoffers-laravel-client": "dev-master"
},
"repositories": [
    {
        "type": "package",
        "package": {
            "name": "devit/hasoffers-php-client",
            "version": "dev-master",
            "source": {
                "url": "http://ift.tt/2zFJ1dH",
                "type": "git",
                "reference": "master"
            }
        }
    },
    {
        "type": "package",
        "package": {
            "name": "devit/hasoffers-laravel-client",
            "version": "dev-master",
            "source": {
                "url": "http://ift.tt/2iTKCEM",
                "type": "git",
                "reference": "master"
            }
        }
    }
],

What have I gotten wrong here?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zHb38J
via IFTTT

Aucun commentaire:

Enregistrer un commentaire