New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer update with lumen framework does not work #447
Comments
Try using |
|
with: "laravel/lumen-framework": "5.1.*@dev", Problem 1 |
Same thing with Laravel 5.0:
Is there a way to work around that? As we don't want to upgrade from 5.0 to 5.1 yet. |
That's interesting. So the package supports 4.2, and supports 5.1 but not 5.0. It would have been sweet to know about this plan before. Will see what I can do |
The transition between Laravel 5.0 and 5.1 is almost none existing, you should check it out. |
Cool thanks! |
Yeah, even if changing to 5.1.*@dev it still returns an error. Any ideas? |
You need to correctly set the GLOBAL minimum stability. |
Yes, seems to do the trick. Was just having the GLOBAL preferred-install set to dev. Thanks! |
"preferred-install" isn't right... |
|
"minimum-stability": "dev",
"prefer-stable": true |
That's telling composer to download zips, or clone the repo. |
It works. Tx @GrahamCampbell |
Are there any changes on how the API routes are registered? Can't seem to get it to work after the update. |
Same question here, such route does not work any more: $api->version('v1', ['prefix' => 'api'], function ($api) {
$api->resource('contact', 'App\Http\Controllers\ContactController');
});
NotFoundHttpException in Application.php line 1116: |
Looking at Lumen it seems some changes that made it to |
https://twitter.com/jasonclewis/status/607019177065353216 I'll check shortly but it should be fine now if you're using Lumen. Just run an update. |
Can confirm, all should be sweet now folks. Let me know if you're still having dramas. |
composer update
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
- remove dingo/api 0.9.x-dev|keep dingo/api dev-develop
- dingo/api 0.9.x-dev requires illuminate/routing 5.1.* -> no matching package found.
- dingo/api dev-develop requires illuminate/routing 5.1.* -> no matching package found.
- Installation request for dingo/api 0.9.*@dev -> satisfiable by dingo/api[0.9.x-dev].
Potential causes:
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
The text was updated successfully, but these errors were encountered: