PHPackages                             elvanto/tapegun - 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. elvanto/tapegun

ActiveProject

elvanto/tapegun
===============

v3.0.0(2y ago)03.6k↓50%[1 PRs](https://github.com/elvanto/tapegun/pulls)MITPHPPHP &gt;=7.2.5

Since Jan 4Pushed 3mo ago4 watchersCompare

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

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

Tapegun
=======

[](#tapegun)

A simple build system written in PHP.

Features:

- Support for tasks written as shell commands or PHP classes
- Multi-target builds with separate environments
- Bundled tasks for Git, archiving and templated text files

Installation
------------

[](#installation)

The preferred installation method is [composer](https://getcomposer.org);

```
composer require-dev elvanto/tapegun
```

Usage
-----

[](#usage)

Tapegun is configured through a JSON file that defines the environment, targets and tasks required to build a project. The basic structure is as follows.

```
{
  "name": "project-name",
  "env": {
      "foo": "bar",
      "staging": "/var/app/staging"
  },
  "targets": [
    {
      "name": "dev",
      "env": {
        "foo": "baz"
      }
    },
    {
      "name": "prod",
      "env": {
        "foo": "qux"
      }
    }
  ],
  "pre": [
    {
      "class": "Tapegun.Task.GitClone",
      "env": {
        "git:source": "https://github.com/company/project-name",
        "git:target": "{{staging}}"
      }
    }
  ],
  "build": [
    {
      "description": "Deploying project",
      "command": "project-deploy --foo={{foo}}"
    }
  ],
  "post": [
    {
      "description": "Cleaning staging directory",
      "command": "rm -rf /var/app/staging"
    }
  ]
}
```

### Configuration

[](#configuration)

KeyDescription**name**The project name.**env**An object mapping environment variable names to values, which can be any data type support by JSON.**targets**An array of objects defining build targets. Each task defined under **build** will be run once per target and inherit **env** from both the root and target configurations.**pre**An array of tasks to be run once at the beginning of the build. See **build** for more details.**post**An array of tasks to be run once at the end of the build. See **build** for more details.**build**An array of tasks to be run once per build target.The **command** property is used to execute a shell command. Environment variables surrounded by `{{` and `}}` will be replaced with their corresponding values. A custom description can be provided through the **description**property. If **async** is set to `true`, the task will run asynchronously for all targets.

The **class** property is used to execute a task written in PHP. The namespace must be provided, with `.` used as a delimiter.

### Environments

[](#environments)

Environment variables may be specified on the task, target or root level and will be resolved in this order.

License
-------

[](#license)

[MIT License](LICENSE)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance53

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 78.3% 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 ~385 days

Recently: every ~577 days

Total

7

Last Release

735d ago

Major Versions

v1.2.2 → v2.0.02022-08-17

v2.0.0 → v3.0.02024-05-07

PHP version history (2 changes)v1.2.2PHP &gt;=7.0

v2.0.0PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/77a936b5c659456479744d404f68ba7bca9552f1d008aa2cf3b8a9175c9ddfb4?d=identicon)[bensinclair](/maintainers/bensinclair)

![](https://www.gravatar.com/avatar/7cf1c2feb7af5eafbcec1d7258f9909e785bb27bda7ca57e47a2794241bf960c?d=identicon)[joshmcrae](/maintainers/joshmcrae)

---

Top Contributors

[![joshmcrae](https://avatars.githubusercontent.com/u/12324115?v=4)](https://github.com/joshmcrae "joshmcrae (18 commits)")[![b-hayes](https://avatars.githubusercontent.com/u/30540495?v=4)](https://github.com/b-hayes "b-hayes (2 commits)")[![azzamaurice](https://avatars.githubusercontent.com/u/700538?v=4)](https://github.com/azzamaurice "azzamaurice (1 commits)")[![jaicarlton](https://avatars.githubusercontent.com/u/48702814?v=4)](https://github.com/jaicarlton "jaicarlton (1 commits)")[![ryanrigby17](https://avatars.githubusercontent.com/u/31635841?v=4)](https://github.com/ryanrigby17 "ryanrigby17 (1 commits)")

### Embed Badge

![Health badge](/badges/elvanto-tapegun/health.svg)

```
[![Health](https://phpackages.com/badges/elvanto-tapegun/health.svg)](https://phpackages.com/packages/elvanto-tapegun)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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