florianv / business

:date: DateTime calculations in business hours
http://florianv.github.io/business
MIT License
361 stars 25 forks source link

Installing through composer #2

Closed leemcd56 closed 9 years ago

leemcd56 commented 9 years ago

Using the recommended method of installation through composer, the following exception is thrown:

[InvalidArgumentException]
Could not find package florianv/business at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
mcordingley commented 9 years ago

Looks like it needs to have a release.

florianv commented 9 years ago

Hi,

indeed, there is currently no stable release as I want to make sure the API won't change before doing so. You need to use the dev-master version. You can add this to your composer.json:

{
    "require": {
        "florianv/business": "dev-master"
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}