Skip to content

d3datadevelopment/confirmcomposerpackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"
      ]
    }
  },

About

Requests confirmation of a question, otherwise the package will be uninstalled.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages