Go to file
2018-12-19 23:02:25 +01:00
src add Apache 2.0 license 2018-12-18 09:17:31 +01:00
composer.json add Apache 2.0 license 2018-12-18 09:17:31 +01:00
LICENSE.md change license text format 2018-12-18 09:37:00 +01:00
README.md add badges 2018-12-19 23:02:25 +01:00

Confirmation request plugin for Composer

can used for every kind of questions and packages

License Latest Stable Release

To implement the confirmation, add this to the composer.json of your package:

  "require": {
    ...,
    "d3/confirmcomposerpackage": "^1.0"
  },
  "extra": {
    "packageConfirmation": {
      "question": "your confirmation question (y/N) ",
      "acceptedanswers": [
        "y",
        "yes"
      ]
    }
  },