Skip to content

Commit

Permalink
Merge pull request #1 from geekwright/pluginversion
Browse files Browse the repository at this point in the history
Allow updates to composer-plugin-api
  • Loading branch information
geekwright committed Jun 11, 2015
2 parents f44befd + dc737ab commit 7e7dcd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ module-installer-plugin

This is a plugin for [Composer](http://getcomposer.org/) that allows XOOPS 2.6 modules to be managed by composer. Managing XOOPS modules with composer enables dependency management for modules, as modules can require other libraries, or even other modules.

To use this plugin, your module should include a type property of **"xoops-module"** in its `composer.json`, and it should require **"XOOPS/module-installer-plugin"** as in the following example.
To use this plugin, your module should include a type property of **"xoops-module"** in its `composer.json`, and it should require **"xoops/module-installer-plugin"** as in the following example.

```JSON
{
"name": "geekwright/dummy",
"type": "xoops-module",
"description": "XOOPS dummy module for testing",
"require": {
"XOOPS/module-installer-plugin": "~1.0"
"xoops/module-installer-plugin": "~1.0"
}
}
```
Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"class": "Xoops\\Composer\\ModuleInstallerPlugin"
},
"require": {
"composer-plugin-api": "1.0.0"
},
"replace": {
"geekwright/module-installer-plugin": "1.0.*"
"composer-plugin-api": "^1.0"
}
}

0 comments on commit 7e7dcd0

Please sign in to comment.