Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install propel using composer

I am trying to use propel with composer but I'm getting errors.

My composer.json is:

{
    "require": {
        "propel/propel" : "*"
    }
}

and the error is:

  Problem 1
    - The requested package propel/propel * could not be found.

Does anyone knows what am I missing? I'm googling it but I don't get it.

like image 458
Adler Medrado Avatar asked Jul 07 '12 21:07

Adler Medrado


1 Answers

Are you trying to use propel 1.x or propel 2?

Try this for propel1:

{
    "require": {
        "propel/propel1": "1.6.*"
    }
}

For propel 2, I think this can work:

{
    "require": {
        "propel/propel": "dev-master"
    }
}
like image 52
j0k Avatar answered Sep 19 '22 06:09

j0k