yohang / Finite

A Simple PHP Finite State Machine
http://yohan.giarel.li/Finite
MIT License
1.31k stars 188 forks source link

readme error #32

Closed matteosister closed 10 years ago

matteosister commented 10 years ago

quick fix... the readme says to add this to composer:

{
  "require": {
    "yohang/finite": "~1.1"
  }
}

but that version do not exists.

It should be

{
  "require": {
    "yohang/finite": "~1.0"
  }
}
winzou commented 10 years ago

Hey,

1.1 is an alias for dev-master: https://github.com/yohang/Finite/blob/master/composer.json#L45

matteosister commented 10 years ago

i get

The requested package yohang/finite could not be found in any version, there may be a typo in the package name

because I have

{
  "minimum-stability": "beta"
}
winzou commented 10 years ago

So you should force the dev version just for this package: "yohang/finite": "~1.1@dev"