maknz / slack

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax.
BSD 2-Clause "Simplified" License
1.17k stars 204 forks source link

Update guzzlehttp/guzzle #7

Closed sjimi closed 9 years ago

sjimi commented 9 years ago

Basically because the usage of Guzzle is limited in this package I want to be able to choose which version I use. But for convenience I changed the version of the guzzlehttp/guzzle package to 5.*.

maknz commented 9 years ago

This will break for people who have 4.x dictated by other packages, since you can't have 4 and 5 in parallel. I think we can use a ~4.0|~5.0 constraint or something similar to loosen it up. On holiday at the moment but will take a look when I can.

In the meanwhile, add:

    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/Sjimi/slack"
        }
    ]

to your composer.json and update the version of maknz/slack to dev-master. A composer update will then give you the changes from your fork, without having to bother with Packagist etc.

sjimi commented 9 years ago

Okay I had done this already for now. Let me know if you loosened the constraints though. Happy holidays.

Crash-- commented 9 years ago

Do you plan to update your composer.json @maknz? Because I use it in an app and I can't rely on a dev-master.

So 2 choices:

I prefer the first one ;)

maknz commented 9 years ago

I was hesitant to push any updates while I have crappy mobile internet (until next week). But since this is clearly a problem I'll loosen the constraint now.