* plugins: require php-extension, table or column

Some additional options for plugin developers, to require specific php
extension, database table or column to be present on installed system!
This commit is contained in:
slawkens1
2018-02-05 21:25:14 +01:00
parent 808612cd10
commit 9c536bd845
3 changed files with 42 additions and 12 deletions

View File

@@ -6,10 +6,13 @@
"contact": "nobody@example.org",
"require": {
"myaac": "0.4.3",
"myaac_": ">=0.7,<1.0", // support for defining versions like in composer (since 0.8.0)
"myaac_": ">=0.7,<1.0", // support for defining versions like in composer (since 0.8)
"php": "5.2.0",
"php_": ">5.4,<7.0", // support for defining versions like in composer (since 0.8.0)
"database": "21"
"php_": ">5.4,<7.0", // support for defining versions like in composer (since 0.8)
"database": "21",
"php-ext": "curl", // php extension needs to be installed (since 0.8)
"table": "accounts", // table need to exist in database (since 0.8)
"column": "players.online" // column need to exist in database (since 0.8)
},
"install": "plugins/example/install.php",
"uninstall": [