nickolasburr/unpackagist

This package is abandoned and no longer maintained. The author suggests using the mnsami/composer-custom-directory-installer package instead.

Composer package for unpacking the contents of src/

v1.0.5 2017-05-09 02:14 UTC

This package is not auto-updated.

Last update: 2019-01-27 21:24:39 UTC


README

Composer library for unpacking contents from src/

How

  1. composer require nickolasburr/unpackagist

  2. composer.json:

...
"scripts": {
	"post-update-cmd": [
		"Unpackagist\\Contents::unpackSource"
	]
}
  1. composer update

What

Unpackagist was designed to unpack the contents of src/ to ., effectively moving everything back a directory level. This is helpful for packages that have many purposes and only need a slightly varied directory structure to operate in different environments.