nickolasburr / unpackagist
Composer package for unpacking the contents of src/
Installs: 1 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.9
- composer-plugin-api: *
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2019-01-27 21:24:39 UTC
README
Composer library for unpacking contents from src/
How
-
composer require nickolasburr/unpackagist
-
composer.json:
... "scripts": { "post-update-cmd": [ "Unpackagist\\Contents::unpackSource" ] }
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.