PHPackages                             scto/plugin-compiler - 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. scto/plugin-compiler

ActiveLibrary

scto/plugin-compiler
====================

A plugin compiler for Textpattern CMS.

v0.1.2(1y ago)08GPL-2.0PHPPHP &gt;=8.2

Since Oct 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/trenc/scto-plugin-compiler)[ Packagist](https://packagist.org/packages/scto/plugin-compiler)[ Docs](https://github.com/trenc/scto-plugin-compiler)[ RSS](/packages/scto-plugin-compiler/feed)WikiDiscussions main Synced 1mo ago

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

[![Run tests](https://github.com/trenc/scto-plugin-compiler/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/trenc/scto-plugin-compiler/actions/workflows/run-tests.yml)

Scto Plugin Compiler
====================

[](#scto-plugin-compiler)

Compiler for creating installable plugin files for the [Textpattern CMS](https://textpattern.com).

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

[](#installation)

```
$ composer require scto/plugin-compiler --dev

```

Usage
-----

[](#usage)

The compiler binary can has up to five arguments.

N.B.: The name of the plugin is created from the name of the current woking directory.

```
$ ./vendor/bin/scto-compile manifest.json help.textile textpack.txt srcFolder outputFolder

```

The plugin compiler can also be used as library:

```
use Scto\PluginCompiler\CompilerApp;

public $args = [
    'manifest.json', // manifest file
    'help.textile',  // help file in textile markup
    'textpack.txt',  // combined textpack file with all localisation strings
    'src',           // directory with the PHP source code
    'dist',          // directory for the compiled plugins
];

$app = new CompilerApp();
$app->run($args);

```

Alternatives
------------

[](#alternatives)

-
- [https://github.com/Bloke/ied\_plugin\_composer](https://github.com/Bloke/ied_plugin_composer)
- [https://github.com/alieninternet/ais\_txpplugin\_packager](https://github.com/alieninternet/ais_txpplugin_packager)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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 ~0 days

Total

3

Last Release

565d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cae5a99e43e8ac788238e135064ba5a29477002eeb1c7f5c0cf325c7becdfc07?d=identicon)[scto](/maintainers/scto)

---

Top Contributors

[![trenc](https://avatars.githubusercontent.com/u/2284806?v=4)](https://github.com/trenc "trenc (28 commits)")

---

Tags

textpatterntextpattern-dev-tooltextpattern-developmentplugincompilertextpattern

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/scto-plugin-compiler/health.svg)

```
[![Health](https://phpackages.com/badges/scto-plugin-compiler/health.svg)](https://phpackages.com/packages/scto-plugin-compiler)
```

PHPackages © 2026

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