FlorianWolters / PHP-Component-Core-DebugPrint

The Debug Print Method implementation pattern as a PHP component.

Home Page:http://blog.florianwolters.de/PHP-Component-Core-DebugPrint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package not available via Composer

chippyash opened this issue · comments

Using either
"require" {
"florianwolters/component-core-debugprint": "dev-master"
}
as specified at Packagist.org
or

"require" {
"florianwolters/component-core-debugprint": "0.2.*"
}
as specified in Git readme leads to error:

Problem 1
- Installation request for florianwolters/component-number-fraction dev-master -> satisfiable by florianwolters/component-number-fraction[dev-master].
- florianwolters/component-number-fraction dev-master requires florianwolters/component-core-debugprint dev-master -> no matching package found.

i.e. this package nor those that depend on it are installable.

Hello, thanks for your issue report. Composer changed their compatibility settings some time ago, which may be a problem for you (regarding your local Composer settings).

But your error output seems weird, since florianwolters/component-number-fraction is mentioned, which isn't used by this component or its dependent component florianwolters/component-core-hashcode.

I tested the following composer.json file with the latest composer version e77435cd0c984e2031d915a6b42648e7b284dd5c 2014-07-02 15:44:54:

{
    "require": {
        "florianwolters/component-core-debugprint": "0.2.*"
    }
}

Running composer install produces the following output:

Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing florianwolters/component-core-hashcode (v0.2.1)
    Loading from cache

  - Installing florianwolters/component-core-debugprint (v0.2.0)
    Loading from cache

Writing lock file
Generating autoload files

Looks good. I also updated both components to v0.3.0 (lots of cosmetic changes). and tested it with the following composer.json file:

{
    "require": {
        "florianwolters/component-core-debugprint": "0.3.*"
    }
}

Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing florianwolters/component-core-hashcode (v0.3.0)
    Loading from cache

  - Installing florianwolters/component-core-debugprint (v0.3.0)
    Loading from cache

Writing lock file
Generating autoload files

Looks good too.

To make sure that a project depending on a dev version of this component is installable via Composer, you can also try the following:

{
    "minimum-stability": "dev",
    "require": {
        "florianwolters/component-number-fraction": "dev-master"
    }
}

To conclude, I can't reproduce your problem without further information.

Thanks Florian. Minimum stability did the trick.