PatronBase / omnipay-redsys

Redsys driver for the Omnipay PHP payment processing library
MIT License
4 stars 4 forks source link

Composer require patronbase/omnipay-redsys problem #6

Open santiagomgv opened 3 years ago

santiagomgv commented 3 years ago

`Problem 1

I have a problem installing, i'm using it with the framework of TastyIgniter: Restaurant Online Ordering System.

leith commented 3 years ago

That's odd. The composer.json has the dependency on the https://github.com/codedruids/omnipay-common fork clearly in there (needed to add support for address3), but it seems like it's only picking up the base repository.

After a quick scan around it seems like this is on purpose to prevent malicious code injection into the ecosystem, and to constrain the list of tags/branches involved when following a chain of repositories to look up.

I currently have a PR open for this to get merged back into the main repo (https://github.com/thephpleague/omnipay-common/pull/236) as well as accompanying tests (https://github.com/thephpleague/omnipay-tests/pull/18) but they're still open.

At the moment to get this working, you'll probably need to add this to your composer.json:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/CodeDruids/omnipay-common"
        }
]