laravel-git-hook icon indicating copy to clipboard operation
laravel-git-hook copied to clipboard

Add Service Provider Autoloading for Laravel 5.5

Open jagDanJu opened this issue 7 years ago • 3 comments

Add this to the composer.jso to autoload den Service Provider. There ist no need to add this manually on Laravel 5.5 :)

"extra": {
    "laravel": {
        "providers": [
            "Webklex\\GitHook\\Providers\\LaravelServiceProvider“
        ]
    }
}

jagDanJu avatar Dec 23 '17 14:12 jagDanJu

Hi @jagDanJu , thanks for your sugestion but this repository supports all Laravel versions from 5.0.0 on. So by adding this I would breake older systems..

Webklex avatar Jan 01 '18 01:01 Webklex

@Webklex I dont think that you would break older systems .. < 5.5 this will be ignored. Than the User needs to add the Service Provider manually

jagDanJu avatar Jan 01 '18 02:01 jagDanJu

@jagDanJu well that would be greate. I'll run a little test and release a new version soon :)

Best regards

Webklex avatar Jan 01 '18 02:01 Webklex