jbboehr/dh-make-composer

This package is abandoned and no longer maintained. No replacement package was suggested.

Command-line utility that builds a debian package from composer package.

v0.1.2 2016-10-20 05:50 UTC

This package is not auto-updated.

Last update: 2019-05-03 20:34:59 UTC


README

Command line utility that build a debian package from a composer package. See also: PackageBuilder.

Usage

composer require jbboehr/dh-make-composer

Create a source package from a specific package:

dh_make_composer create monolog/monolog 1.15.0

Create a source package from another package's lock file:

dh_make_composer lock composer.lock --output output

Notes:

  • The name and email in your ~/.gitconfig will be used for the uploader.
  • The paths used in the autoloader and bin keys in composer.json will be used to add files to the package
  • If an empty path is used, all .php files and directories that start with an uppercase letter will be added by default
  • The files are installed into /usr/share/composer with the same directory structure as the source repo
  • Each namespace in the autoloader is symlinked into /usr/share/php such that you can use a simple autoloader to include the class.

License

See the license file