Search code examples
phplaravellaravel-5composer-phpdingo-api

Your requirements could not be resolved to an installable set of packages Dingo/api does not install on laravel v5.5.24


I want install Dingo package on my project and when I do

composer require dingo/api:"2.0.0-alpha1"

I have a lot of errors

How can I resolve this ?


Solution

  • I had to update instand of require

    I added

    "require": {
       "dingo/api": "2.0.0-alpha1"
    }
    

    Before to update

    composer update
    

    And now all is fine !