PHPackages                             wdalmut/php-deb-describe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. wdalmut/php-deb-describe

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

wdalmut/php-deb-describe
========================

A simple debian packager wrapper for PHP applications

0.0.1(11y ago)1016.0k1MITPHP

Since Apr 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/wdalmut/php-deb-describe)[ Packagist](https://packagist.org/packages/wdalmut/php-deb-describe)[ RSS](/packages/wdalmut-php-deb-describe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (1)Used By (0)

Describe your Deb packages
==========================

[](#describe-your-deb-packages)

Just a simple wrapper around the package [`wdalmut/php-deb-packager`](https://github.com/wdalmut/php-deb-packager)

- master [![Build Status](https://camo.githubusercontent.com/7218d1634f8c4f244475d0dbfb0ad6faea8a0d6fab00b678412e3e253f49a754/68747470733a2f2f7472617669732d63692e6f72672f7764616c6d75742f7068702d6465622d64657363726962652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wdalmut/php-deb-describe)

Describe a `deb` package with Yaml files
----------------------------------------

[](#describe-a-deb-package-with-yaml-files)

```
output_path: /mnt/out
mount:
  - {src: "/first", dest: "/somewhere"}
  - {src: "/src", dest: "/usr/shara/mysw"}
control:
  package: my-package-name
  version: 0.0.1
  depends: php5, php5-cli, php5-curl
  maintainer: Walter Dal Mut [an-email@email.tld]
  provides: something, something-else
  replaces: first-package, second-package
  suggests: php5-mcrypt, php5-xsl
  pre_depends: build-essentials, libc6
  architecture: all
  section: web
```

Use with composer
-----------------

[](#use-with-composer)

Just require it!

```
composer require wdalmut/php-deb-describe:dev-master

```

And use it!

```
./vendor/bin/pdpkg package your.yml

```

Use it as `phar` package
------------------------

[](#use-it-as-phar-package)

You can create your `phar` package with [clue/phar-composer](https://github.com/clue/phar-composer)

```
phar-composer.phar build wdalmut/php-deb-describe:dev-master
```

Use the library directly
------------------------

[](#use-the-library-directly)

Just prepare a simple `compile.php` file

```
