2017 © Pedro Peláez
 

composer-plugin composer-janitor

A composer cleanup plugin, to remove tests and documentation to save space

image

hardpixel/composer-janitor

A composer cleanup plugin, to remove tests and documentation to save space

  • Wednesday, January 11, 2017
  • by jonian
  • Repository
  • 1 Watchers
  • 3 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Composer Janitor Plugin

Cleanup Composer packages to remove unneeded files and folders if you intend to keep you project dependencies in version control. The plugin removes files that belong to 4 default rule groups (docs, tests, system, wp) from all the project dependencies when you run composer install or composer-update. You can configure extra rule groups or disable default groups by adding options to the composer.json file., (*1)

Configure

You can configure Composer Janitor Plugin by adding a cleanup key in your composer.json., (*2)

disable : Disable default rule groups
rules : Define custom rule groups
packages : Define rules to specified packages, (*3)

Below you can see an example configuration., (*4)

"config": {
  "cleanup": {
    "disable": ["system"],
    "rules": {
      "custom": [
        ".git*",
        ".idea",
        ".htaccess",
        ".editorconfig",
        ".phpstorm.meta.php",
        ".php_cs",
        "*.iml",
        "composer.lock",
        "bower*"
      ]
    },
    "packages": {
      "masterminds/html5": ["sami.php", "bin"],
      "querypath/querypath": ["patches", "bin", "phar"],
      "mustache/mustache": "vendor",
      "pelago/emogrifier": "Configuration",
      "wpackagist-plugin/piklist": "add-ons",
      "wpackagist-plugin/polylang": "lingotek"
    }
  }
}

The Versions

11/01 2017

dev-master

9999999-dev

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Hardpixel

11/01 2017

v0.3.1

0.3.1.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Hardpixel

08/11 2016

v0.3.0

0.3.0.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Hardpixel

12/07 2016

v0.2.0

0.2.0.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

12/07 2016

v0.1.9

0.1.9.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

11/07 2016

v0.1.8

0.1.8.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

11/07 2016

v0.1.7

0.1.7.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

10/07 2016

v0.1.6

0.1.6.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

10/07 2016

v0.1.5

0.1.5.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

08/04 2016

v0.1.4

0.1.4.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

08/04 2016

v0.1.3

0.1.3.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

29/03 2016

v0.1.2

0.1.2.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

29/03 2016

v0.1.1

0.1.1.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli

29/03 2016

v0.1.0

0.1.0.0

A composer cleanup plugin, to remove tests and documentation to save space

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

by Jonian Guveli