omnipay-braintree icon indicating copy to clipboard operation
omnipay-braintree copied to clipboard

Version 3 Tag?

Open ghost opened this issue 5 years ago • 2 comments

Our application is relying on version ~3.0 of this package (which I believe was previously aliased to dev-master). This does not appear to be a tag that is available via composer, so we now have an issue with dependency installation. How can we install version 3 via composer?

ghost avatar Jul 30 '20 20:07 ghost

Okay that's strange indeed, we never tagged it. Does v4 work for you?

barryvdh avatar Jul 31 '20 13:07 barryvdh

Yes, strange indeed. I am able to install v4, however I hoped to avoid any potentially breaking changes at this time. I suppose I can pin it to a commit for the time being if there is no other option.

For reference, I've included the composer.lock information below:

        {
            "name": "omnipay/braintree",
            "version": "dev-master",
            "source": {
                "type": "git",
                "url": "https://github.com/thephpleague/omnipay-braintree.git",
                "reference": "227ffdc04ea7c4cd0358f028bf7dfae2228eeb94"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/thephpleague/omnipay-braintree/zipball/227ffdc04ea7c4cd0358f028bf7dfae2228eeb94",
                "reference": "227ffdc04ea7c4cd0358f028bf7dfae2228eeb94",
                "shasum": ""
            },
            "require": {
                "braintree/braintree_php": "^3.0",
                "omnipay/common": "^3"
            },
            "require-dev": {
                "omnipay/tests": "^3"
            },
            "type": "library",
            "extra": {
                "branch-alias": {
                    "dev-master": "3.0.x-dev"
                }
            },
            "autoload": {
                "psr-4": {
                    "Omnipay\\Braintree\\": "src/"
                }
            },
            "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Barry vd. Heuvel",
                    "email": "[email protected]"
                },
                {
                    "name": "Kayla Daniels",
                    "email": "[email protected]"
                },
                {
                    "name": "Omnipay Contributors",
                    "homepage": "https://github.com/thephpleague/omnipay-braintree/contributors"
                }
            ],
            "description": "Braintree gateway for Omnipay payment processing library",
            "homepage": "https://github.com/thephpleague/omnipay-braintree",
            "keywords": [
                "braintree",
                "gateway",
                "merchant",
                "omnipay",
                "pay",
                "payment",
                "purchase"
            ],
            "time": "2018-11-09T08:39:19+00:00"
        },

ghost avatar Jul 31 '20 14:07 ghost