2017 © Pedro Peláez
 

composer-plugin composer-module-installer-plugin

This plugin allows the installation of ImpressCMS addons from composer

image

impresscms/composer-module-installer-plugin

This plugin allows the installation of ImpressCMS addons from composer

  • Monday, February 26, 2018
  • by fiammybe
  • Repository
  • 2 Watchers
  • 2 Stars
  • 39 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

License Packagist PHP Version Support GitHub release (latest by date) Packagist Downloads, (*1)

Composer Add-on Installer Plugin (for ImpressCMS)

Composer plugin to correctly install modules, themes and translations to required locations for ImpressCMS., (*2)

How to use it?

Normally this package must be required only by ImpressCMS itself. So, basically that means you don't need you must install the CMS if you want to use functionality provided by this package., (*3)

Handled package types

At current moment this plugin handles impresscms-module, impresscms-theme and impresscms-translation composer package types., (*4)

Below are supported composer.json file samples/descriptions., (*5)

impresscms-module format

{
   "name": "MODULE/NAME",
   "description": "HERE CAN BE WRITTEN SOME TEXT",
   "authors": [ // this becomes teammembers internaly
          {
              "name": "Someones Name",
              "email": "someones@email.lt",
              "homepage": "https://www.someone-website.be",
              "role": "Developer"
          }
    ],
    "license": "package-license",
    "extra": {
      "credits": "Anything that you would like to know about creator in module admin",
      "author": "somebody", // if you want specify first person or company who created this module write it here
      "help": "",
      "icon": {
        "small": "file_in_module_directory_to_be_shown_as_small_image_for_module.png",
        "big": "file_in_module_directory_to_be_shown_as_big_image_for_module.png",
      },
      "warning": "if you want to put any warning about release, you can but it here",
      "website_url": "https://website_for_project.com",
      "email": "email@for_project.us",
      "people": [], // array with involved people data
      "autotasks": [], // array to describe autotasks that will be installed with this module
      "manual": "",
      "admin": { // if module doesn't have admin do not specify this key
        "index": "if specified must be url to admin page",
        "menu": [], // describes admin menu
      },
      "object_items": [], // if module use IPF objects here you can specify names list that would be automatically processed
      "search": { // if module doesn't have search do not specify this key
          "file": "php file for gathering search results",
          "func": "function name in that file"
      },
      "comments": {}, // if module uses build in comments configuration is specified here, otherwise don't specify this key
      "templates": [], // specify templates that must be registered to be used by this module
      "has_main": true, // if specified and has value true ImpressCMS thinks that this module has old-school main page
      "events": {
        "update": {}, // if specified update callback function is invoked when module is updated
      },
      "blocks": [], // if module uses blocks here you must specify blocks configuration
      "menu": [], // if module has submenu, here is possible to specify menu items
      "config": [], // specified options that can be configurated in module settings
      "notification": [], // describes notifications that is provided by this module,
      "assets": [], // if module needs to copy non automatically copied assets files to public directory, all these assets must be specified here
    }
}

impresscms-theme format

{
   "name": "THEME/NAME",
   "description": "HERE CAN BE WRITTEN SOME TEXT",
   "type": "impresscms-theme",
   "license": "", // see composer.json docs 
   "extra": {
       "screenshots": {
          "user": "", // url with user side theme screenshot, if this specified icms thinks that theme supports user side
          "admin": "" // same as user but for admin side
        },
       "name": "THEME NAME TO USE IN LIST" // if specified this value will be used in all theme names lists
    }
}

impresscms-translation format

{
   "name": "TRANSLATION/NAME",
   "description": "HERE CAN BE WRITTEN SOME TEXT",
   "type": "impresscms-translation",
   "license": "", // see composer.json docs 
}

Note: this format only works for core translations, all others must come from modules, (*6)

How to contribute?

If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial., (*7)

If you found any bug or have some questions, use issues tab and write there your questions., (*8)

The Versions

26/02 2018

dev-master

9999999-dev

This plugin allows the installation of ImpressCMS addons from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.*

 

by David Janssens

19/05 2016

v1.0.2

1.0.2.0

This plugin allows the installation of ImpressCMS addons from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.*

 

by David Janssens

29/07 2015

v1.0.1

1.0.1.0

This plugin allows the installation of ImpressCMS modules from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0

 

by David Janssens

11/10 2014

v1.0.0

1.0.0.0

This plugin allows the installation of ImpressCMS modules from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0

 

by David Janssens

26/09 2014

1.0.0-alpha

1.0.0.0-alpha

This plugin allows the installation of ImpressCMS modules from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0

 

by David Janssens

29/08 2014

1.0.0-beta

1.0.0.0-beta

This plugin allows the installation of ImpressCMS modules from composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0

 

by David Janssens