Problem
My story is i am following a tutorial and tried to install OAuth2 package with composer for laravel5.0 but fail, this is the part i added in composer.json located in project root."require": {
"laravel/framework": "5.0.*",
"lucadegasperi/oauth2-server-laravel": "5.0.*"
},
the related command on Windows platform :
composer updateAnd the error message :
your requirements could not be resolved to an installable set of packages: Conclusion: don't install laravel/frameworkv5.0.xx
Solution
Firstly you have to visit official OAuth2 package website to check are you required to install a correct OAuth2 package version via composerOfficial site of github lucadegasperi/oauth2-server-laravel :
https://github.com/lucadegasperi/oauth2-server-laravel
For my case i should install "lucadegasperi/oauth2-server-laravel": "4.0.*" but not "lucadegasperi/oauth2-server-laravel": "5.0.*" for my laravel 5.0.x.
"require": {
"laravel/framework": "5.0.*",
"lucadegasperi/oauth2-server-laravel": "4.0.*"
},
No comments :
Post a Comment