PHPackages                             vysokeskoly/deb-build - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vysokeskoly/deb-build

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vysokeskoly/deb-build
=====================

Utilities for building deb packages of PHP apps

7.1.0(2y ago)121.2k↓11.5%MITPHPPHP ^8.1

Since Mar 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vysokeskoly/deb-build)[ Packagist](https://packagist.org/packages/vysokeskoly/deb-build)[ RSS](/packages/vysokeskoly-deb-build/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Debian package build
====================

[](#debian-package-build)

[![Latest Stable Version](https://camo.githubusercontent.com/e0e9f1b13502616307042b9ed8e9fb16d3b26b3b8414c26f1c5336576d5df7d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7679736f6b65736b6f6c792f6465622d6275696c642e737667)](https://packagist.org/packages/vysokeskoly/deb-build)[![License](https://camo.githubusercontent.com/49deb9ad1a2d880c66b3a144e96ddfabbc9cf685380fe4ea894c2df063a0ea7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7679736f6b65736b6f6c792f6465622d6275696c642e737667)](https://packagist.org/packages/vysokeskoly/deb-build)[![Checks](https://github.com/vysokeskoly/deb-build/actions/workflows/checks.yaml/badge.svg)](https://github.com/vysokeskoly/deb-build/actions/workflows/checks.yaml)[![Build](https://github.com/vysokeskoly/deb-build/actions/workflows/php-checks.yaml/badge.svg)](https://github.com/vysokeskoly/deb-build/actions/workflows/php-checks.yaml)[![Coverage Status](https://camo.githubusercontent.com/e3c0fd11ebd7accc15bfb01a39e9e48ba8dfe4aee091a7dc1672d005517989bd/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7679736f6b65736b6f6c792f6465622d6275696c642f62616467652e737667)](https://coveralls.io/github/vysokeskoly/deb-build)

Build deb package of PHP application using [Robo](http://robo.li/) task runner.

How to install and use
======================

[](#how-to-install-and-use)

First install this package as composer dependency:

```
composer require vysokeskoly/deb-build:dev-master
```

- *NOTE* it must NOT be installed as `--dev` dependency, as it is needed for `postinst` which is triggered on during installation on target server.

Then you can copy example `RoboFile.php`:

```
cd {YOUR_PROJECT}
cp vendor/vysokeskoly/deb-build/example/RoboFile.php ./RoboFile.php
```

Now just edit `RoboFile.php` and resolve all `TODOs` and check/edit other configuration.

Autoloading
-----------

[](#autoloading)

- You can require `Tasks` and `Traits` in your own `RoboFile.php`.
- Or you can use the predefined autoloader:

```
require __DIR__ . '/vendor/vysokeskoly/deb-build/src/autoload.php';
```

- It is not recommended (though it may be possible in some cases) to use `vendor/autoload.php` of your application, because it may (and most probably will) conflict with `robo.phar` inner dependencies (*like `Symfony`*).

Build a deb package
===================

[](#build-a-deb-package)

Build a deb package
-------------------

[](#build-a-deb-package-1)

```
sudo apt-get install ruby-dev gcc make
sudo gem install fpm

export BUILD_NUMBER=666
bin/robo build:deb
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~175 days

Total

4

Last Release

994d ago

Major Versions

5.0.0 → 6.0.02022-03-20

6.0.0 → 7.0.02022-07-19

PHP version history (2 changes)5.0.0PHP ^7.4

6.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bdf0b9957c08a48e70a52fce74fc4f1add30b12d442450d5e2b48854fc98b21?d=identicon)[MortalFlesh](/maintainers/MortalFlesh)

---

Top Contributors

[![MortalFlesh](https://avatars.githubusercontent.com/u/6317184?v=4)](https://github.com/MortalFlesh "MortalFlesh (15 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vysokeskoly-deb-build/health.svg)

```
[![Health](https://phpackages.com/badges/vysokeskoly-deb-build/health.svg)](https://phpackages.com/packages/vysokeskoly-deb-build)
```

###  Alternatives

[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

38244.6k16](/packages/ec-europa-toolkit)[globalis/robo-task

Robo task common collection

1225.4k2](/packages/globalis-robo-task)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
