2017 © Pedro Peláez
 

composer-plugin module-installer-plugin

Install XOOPS modules using Composer

image

xoops/module-installer-plugin

Install XOOPS modules using Composer

  • Friday, March 25, 2016
  • by geekwright
  • Repository
  • 2 Watchers
  • 2 Stars
  • 181 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

module-installer-plugin

This package is in development and may be subject to change. It is published to enable testing and feedback only., (*1)

This is a plugin for Composer 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., (*2)

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., (*3)

    {
        "name": "geekwright/dummy",
        "type": "xoops-module",
        "description": "XOOPS dummy module for testing",
        "require": {
            "xoops/module-installer-plugin": "~1.0"
        }
    }

The package contents will be installed in the modules directory, in a subdirectory of the same name as the module package. See geekwright/dummy for a simple example of a module enabled for composer management., (*4)

The composer.json of the main xoops-library package needs to set the filesystem path to the XOOPS modules directory in the "extra" property as shown here:, (*5)

    "extra": {
        "xoops_modules": "/home/user/htdocs/modules"
    }

Normally, the XOOPS installer will have adjusted this setting during installation., (*6)

The composer install process only makes the module available to XOOPS. Traditional module installation and configuration are still accomplished in the XOOPS system adminstration area., (*7)

The Versions

25/03 2016

dev-master

9999999-dev

Install XOOPS modules using Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

installer xoops

25/03 2016

v1.0.2

1.0.2.0

Install XOOPS modules using Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

installer xoops

11/06 2015

v1.0.1

1.0.1.0

Install XOOPS modules using Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

installer xoops

09/07 2014

v1.0.0

1.0.0.0

Install XOOPS modules using Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0

 

installer xoops