PHPackages                             alieninternet/ais\_txpplugin\_packager - 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. alieninternet/ais\_txpplugin\_packager

ActiveVendor

alieninternet/ais\_txpplugin\_packager
======================================

Packaging tool for Textpattern plugins

v0.1(1y ago)421GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Mar 7Pushed 1y ago2 watchersCompare

[ Source](https://github.com/alieninternet/ais_txpplugin_packager)[ Packagist](https://packagist.org/packages/alieninternet/ais_txpplugin_packager)[ Docs](https://github.com/alieninternet/ais_txpplugin_packager)[ RSS](/packages/alieninternet-ais-txpplugin-packager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ais\_txpplugin\_packager - An alternative plugin packager for Textpattern plugins
=================================================================================

[](#ais_txpplugin_packager---an-alternative-plugin-packager-for-textpattern-plugins)

This tool will produce a packed, gzipped, base64 encoded plugin package similar to that provided by zem\_tpl and other tools, compatible with Textpattern 4.8.x.

This is not a plugin for Textpattern, nor is it a template to build a plugin from. Instead, the purpose is to allow Textpattern plugins to be developed with stand-alone package files rather than one monolothic file, such as the zem plugin template style).

The reason is that monolithic files are poor candidates for version control make it difficult to work efficiently with different file types, and increase maintenance complexity for complex plugins.

How to use
----------

[](#how-to-use)

This tool can be used either manually on the command line, for as a part of a GitHub workflow.

### As a command line tool

[](#as-a-command-line-tool)

1. Create a folder for the plugin with the following file structure :

```
    plugin_name/
        plugin_name.php       - Your plugin code (required)
        manifest.json         - Plugin manifest file (required)
        textpack.txp          - Textpack file (optional)
        help.textile          - Textile formatted help (optional, recommended)
        help.help             - HTML formatted help (optional)
        data.txp              - Included resources (optional)

```

3. Write your plugin!
4. Execute the package tool, specifying the path to the plugin; it will output a text file appropriately encoded, with a name based on the plugin name and version in the manifest unless you override the output file name.

```
   php ais_txpplugin_packager.phar  []
```

For example:

```
   php ais_txpplugin_packager.phar ./path/to/xxx_plugin_name
```

5. Test your package in a test environment to ensure it is packed and unpacked correctly
6. Release your plugin!

### As a part of a GitHub workflow

[](#as-a-part-of-a-github-workflow)

Using a YAML workflow, you can run this packager without having to download it by using the [`alieninternet/build-txpplugin-txt` GitHub action](https://github.com/marketplace/actions/build-textpattern-plugin-txt-package).

Here is a simple example ([from here](https://github.com/alieninternet/build-txpplugin-txt/blob/main/examples/simple.md)):

```
on:
  release:
    type: [published]

permissions:
  contents: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Check-out repository
        uses: actions/checkout@v4

      - name: Build and release package
        uses: alieninternet/build-txpplugin-txt@v1
        with:
          folder: './path/to/xxx_plugin_name'
          release_files: 'true'
```

For more information, see the [alieninternet/build-txpplugin-txt](https://github.com/alieninternet/build-txpplugin-txt) project for more details.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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

Unknown

Total

1

Last Release

430d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ebecc255e1558ca119ea98afc3f782d9e7a141f85a011c4e646dec02014989?d=identicon)[abutcher](/maintainers/abutcher)

---

Top Contributors

[![AshleyButcher](https://avatars.githubusercontent.com/u/14114112?v=4)](https://github.com/AshleyButcher "AshleyButcher (21 commits)")[![jools-r](https://avatars.githubusercontent.com/u/1203899?v=4)](https://github.com/jools-r "jools-r (3 commits)")

---

Tags

textpatterntextpattern-dev-tooltextpattern-developmentplugindevelopmenttextpattern

### Embed Badge

![Health badge](/badges/alieninternet-ais-txpplugin-packager/health.svg)

```
[![Health](https://phpackages.com/badges/alieninternet-ais-txpplugin-packager/health.svg)](https://phpackages.com/packages/alieninternet-ais-txpplugin-packager)
```

###  Alternatives

[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)

PHPackages © 2026

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