I
I
inpost2015-12-23 07:19:18
Composer
inpost, 2015-12-23 07:19:18

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:
20151223-wfxh-63kb.jpg
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":
20151223-elqt-171kb.jpg
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"
  },

PS but without problems with changes, it updates schoolphp / library.
Help me figure out how to update the project, please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SilverSlice, 2015-12-24
@SilverSlice

  1. Create a composer.json like this:
    {
        "require": {
            "schoolphp/framework": "1.1.0",
            "schoolphp/library": "dev-master"
        }
    }

    It all works for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question