2017 © Pedro Peláez
 

composer-plugin wordpress-muplugin-installer

Install WordPress must-use plugins with Composer

image

lplabs/wordpress-muplugin-installer

Install WordPress must-use plugins with Composer

  • Thursday, July 28, 2016
  • by webdeveric
  • Repository
  • 4 Watchers
  • 1 Stars
  • 1,307 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

WordPress must-use plugin installer

Build Status Test Coverage Code Climate Issue Count, (*1)

composer require lplabs/wordpress-muplugin-installer

The Multi-Framework Composer Library Installer does not completely install WordPress must-use plugins. It does put the plugin in the mu-plugins folder, but that isn't enough to be recognized as a must-use plugin by WordPress., (*2)

This plugin addresses that by copying the plugin entry point file into the mu-plugins folder. Your plugin can indicate which file is the main entry point by specifying it in the extra section of your composer.json file., (*3)

{
  "name": "vendorname/muplugin",
  "description": "Just another must-use plugin",
  "type": "wordpress-muplugin",
  "extra": {
    "wordpress-muplugin-entry": "your-plugin-entry-point-file.php"
  },
  "require": {
    "lplabs/wordpress-muplugin-installer": "^2.0"
  }
}

If you do not specify wordpress-muplugin-entry, this plugin will figure out which PHP files are WordPress plugins by looking for Plugin Name: in the first 8 kilobytes of each PHP file in the root of your plugin folder., (*4)

Git hooks

Run this to install a git hook that will run PHPCS, PHPMD, and PHPUnit before you commit., (*5)

composer setup-hooks

The Versions

28/07 2016

dev-master

9999999-dev

Install WordPress must-use plugins with Composer

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin wordpress composer installer must-use mustuse lonelyplanet lplabs

27/07 2016

2.0.1

2.0.1.0

Install WordPress must-use plugins with Composer

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin wordpress composer installer must-use mustuse lonelyplanet lplabs

26/07 2016

2.0.0

2.0.0.0

Install WordPress must-use plugins with Composer

  Sources   Download

proprietary

The Requires

 

The Development Requires

plugin wordpress composer installer must-use mustuse lonelyplanet lplabs

19/02 2016

0.1.0

0.1.0.0

Install WordPress must-use plugins with Composer

  Sources   Download

proprietary

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

plugin wordpress installer composer plugin must use must-use lonely planet lp labs

19/02 2016

1.0.0

1.0.0.0

Install WordPress must-use plugins with Composer

  Sources   Download

proprietary

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

plugin wordpress installer composer plugin must use must-use lonely planet lp labs