Answer the question
In order to leave comments, you need to log in
Composer update does not update project "nothing to install or update". What to do?
Hello, I'm just learning, I can't figure it out.
The project was created via create-project , when running composer update it says: "nothing to install or update", although the project has already been updated. My course of action:
1) Uploaded the project to github: https://github.com/schoolphp/framework , uploaded it to packagist.org .
2) Installed the project: composer install schoolphp/framework
3) Made changes to the package, made a commit & push:
4) Even made a new release.
5) Now I'm trying to update the installed project with composer update , and in response: "nothing to install or update":
I deleted composer.lock , pressed update in packagist, tried to add to composer.json:
"require": {
"php": ">=5.6.0",
"schoolphp/framework": "*",
"schoolphp/library": "dev-master"
},
Answer the question
In order to leave comments, you need to log in
{
"require": {
"schoolphp/framework": "1.1.0",
"schoolphp/library": "dev-master"
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question