Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.
/ dh-make-composer Public archive

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

License

Notifications You must be signed in to change notification settings

jbboehr/dh-make-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dh-make-composer

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages