I just tried doing composer require dingo/api:1.0.x@dev in my Laravel 5.2.39 app and I received the following errors:
✝ ~/Code/OliMorris master± composer require dingo/api:1.0.x@dev
1/1: http://packagist.org/p/provider-latest$b910b14bea00cd781a18cb0c161f8944074f60fb252076fbfe59063788e67857.json
Finished: success: 1, skipped: 0, failure: 0, total: 1
./composer.json has been updated
1/1: http://packagist.org/p/provider-latest$b910b14bea00cd781a18cb0c161f8944074f60fb252076fbfe59063788e67857.json
Finished: success: 1, skipped: 0, failure: 0, total: 1
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- dingo/api 1.0.x-dev requires dingo/blueprint 0.2.* -> satisfiable by dingo/blueprint[0.2.x-dev] but these conflict with your requirements or minimum-stability.
- Conclusion: don't install dingo/api v1.0.0-beta3
- Installation request for phpdocumentor/reflection-docblock (locked at 3.1.0) -> satisfiable by phpdocumentor/reflection-docblock[3.1.0].
- Conclusion: remove laravel/framework v5.2.39
- Conclusion: don't install laravel/framework v5.2.39
- dingo/api v1.0.0-beta1 requires illuminate/routing 5.1.* -> satisfiable by illuminate/routing[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].
- dingo/api v1.0.0-beta2 requires illuminate/routing 5.1.* -> satisfiable by illuminate/routing[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].
- don't install illuminate/routing v5.1.1|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.13|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.16|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.2|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.20|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.22|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.25|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.28|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.30|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.31|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.6|don't install laravel/framework v5.2.39
- don't install illuminate/routing v5.1.8|don't install laravel/framework v5.2.39
- Installation request for laravel/framework (locked at v5.2.39, required as 5.2.*) -> satisfiable by laravel/framework[v5.2.39].
- Installation request for dingo/api 1.0.x@dev -> satisfiable by dingo/api[1.0.x-dev, v1.0.0-beta1, v1.0.0-beta2, v1.0.0-beta3].
Installation failed, reverting ./composer.json to its original content.
It seems that dingo/blueprint doesn't yet have 0.2.x versions.
Have the same issue. So how to install dingo?
Just use last working version: composer require dingo/api:1.0.0-beta3@dev
If you got an error with reflection-docblock, you should downgrade it to 2.0.x:
composer require phpdocumentor/reflection-docblock 2.0.*
I have the same question. And I modify My composer.json file and run "composer update" to include the latest version fo the package in My project. It's work well.
"require": {
"dingo/api": "1.0.*@dev"
}
@olimorris Are you still running into this issue?
@hskrasek I've not tried.
@desaipiyush68 Worked for me.
Most helpful comment
Just use last working version:
composer require dingo/api:1.0.0-beta3@devIf you got an error with reflection-docblock, you should downgrade it to 2.0.x:
composer require phpdocumentor/reflection-docblock 2.0.*