Giter Site home page Giter Site logo

Comments (6)

l3l0 avatar l3l0 commented on May 17, 2024

Hello @patrick45 ,

dev-master of knp gaufrette bundle using dev(not stable) version of gaufrette.
Please see http://getcomposer.org/doc/04-schema.md#minimum-stability and http://getcomposer.org/doc/04-schema.md#package-links

So in your case you should add minimum-stability: dev or just use something like "knplabs/knp-gaufrette-bundle": "0.2.*@dev" in your require config

Version 0.2.x-dev is just alias to dev-master right now.

from knpgaufrettebundle.

patrick45 avatar patrick45 commented on May 17, 2024

Hi

even "0.2.*" does not make it

I had to used "*" and then I got the v0.1.3 ...

it is ok for me, but where is the problem ?

just to summarize
bad : "knplabs/knp-gaufrette-bundle": "0.2." => no package found
good : "knplabs/knp-gaufrette-bundle": "
" => package 0.1.3 found

thanks

from knpgaufrettebundle.

l3l0 avatar l3l0 commented on May 17, 2024

Hello,

You have to use such entry "knplabs/knp-gaufrette-bundle": "0.2.*@dev"

Details are at http://getcomposer.org/doc/04-schema.md#minimum-stability

from knpgaufrettebundle.

patrick45 avatar patrick45 commented on May 17, 2024

Hi

Sorry , does not work :o(

composer.json contains

{
  ...
  "vich/uploader-bundle": "dev-master",
   "knplabs/knp-gaufrette-bundle": "0.2.*@dev"
},

result is

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for knplabs/knp-gaufrette-bundle 0.2.*@dev -> satisfiable by knplabs/knp-gaufrette-bundle 0.2.x-dev.
    - knplabs/knp-gaufrette-bundle 0.2.x-dev requires knplabs/gaufrette 0.2.*@dev -> no matching package found.

Patrick

from knpgaufrettebundle.

l3l0 avatar l3l0 commented on May 17, 2024

Please use:

{
    "require": {
        "vich/uploader-bundle": "dev-master",
        "knplabs/gaufrette": "0.2.*@dev",
        "knplabs/knp-gaufrette-bundle": "0.2.*@dev"
    },  
    "autoload": {"psr-0": {"": "src"}}
}

or (which can fetch develop versions of other packages as well):

{
    "require": {
        "vich/uploader-bundle": "dev-master",
        "knplabs/knp-gaufrette-bundle": "0.2.*"
    },
    "minimum-stability": "dev",
    "autoload": {"psr-0": {"": "src"}}
}

from knpgaufrettebundle.

patrick45 avatar patrick45 commented on May 17, 2024

aaargh !!!
I did not pay attention there where TWO packages :o(

Thanks for your patience !

from knpgaufrettebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.