Fix the current plugin api version in the doc
parent
54a537e9b3
commit
8ee3e106d8
|
@ -39,7 +39,7 @@ requirements:
|
||||||
The required version of the `composer-plugin-api` follows the same [rules][7]
|
The required version of the `composer-plugin-api` follows the same [rules][7]
|
||||||
as a normal package's.
|
as a normal package's.
|
||||||
|
|
||||||
The current Composer plugin API version is 1.1.0.
|
The current Composer plugin API version is `2.0.0`.
|
||||||
|
|
||||||
An example of a valid plugin `composer.json` file (with the autoloading
|
An example of a valid plugin `composer.json` file (with the autoloading
|
||||||
part omitted and an optional require-dev dependency on `composer/composer` for IDE auto completion):
|
part omitted and an optional require-dev dependency on `composer/composer` for IDE auto completion):
|
||||||
|
@ -49,7 +49,7 @@ part omitted and an optional require-dev dependency on `composer/composer` for I
|
||||||
"name": "my/plugin-package",
|
"name": "my/plugin-package",
|
||||||
"type": "composer-plugin",
|
"type": "composer-plugin",
|
||||||
"require": {
|
"require": {
|
||||||
"composer-plugin-api": "^1.1"
|
"composer-plugin-api": "^2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"composer/composer": "^2.0"
|
"composer/composer": "^2.0"
|
||||||
|
|
Loading…
Reference in New Issue