These are chat archives for composer/composer

12th
Apr 2017
Owen Melbourne
@OwenMelbz
Apr 12 2017 15:34
Can anybody help with trying to install a random git repo to a composer based project - e.g this repo -> https://github.com/reyhoun/acf-menu-chooser.git wanting to basically require the code into the vendor folder - im aware though its not a composer package, so wondering if theres a way round this by manually defining stuff in the composer.json ?
Owen Melbourne
@OwenMelbz
Apr 12 2017 15:40

ah

{
            "type": "package",
            "package": {
                "name": "reyhoun/acf-menu-chooser",
                "version": "5",
                "type": "wordpress-plugin",
                "dist": {
                    "type": "zip",
                    "url": "https://github.com/reyhoun/acf-menu-chooser/archive/master.zip"
                }
            }
        }

that will do lol