PHPackages                             rah/php-textile-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. rah/php-textile-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

rah/php-textile-cli
===================

CLI for converting Textile markup to HTML

0.1.1(10mo ago)03MITPHPPHP ^8.1CI passing

Since Jul 21Pushed 10mo agoCompare

[ Source](https://github.com/gocom/php-textile-cli)[ Packagist](https://packagist.org/packages/rah/php-textile-cli)[ Docs](https://github.com/gocom/php-textile-cli)[ Fund](https://liberapay.com/gocom)[ RSS](/packages/rah-php-textile-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

PHP-Textile CLI
===============

[](#php-textile-cli)

[![Packagist](https://camo.githubusercontent.com/fc906093363c13f6209346d620d701d75b0e40ccc7b2e8f40bc46a97b4b47250/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7261682f7068702d74657874696c652d636c692e737667)](https://packagist.org/packages/rah/php-textile-cli) [![Coverage](https://camo.githubusercontent.com/d949da4b000218aa0793fea7a77e373e098d78f87c789d67b70bf12e62675590/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676f636f6d5f7068702d74657874696c652d636c69266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=gocom_php-textile-cli) [![Quality Gate Status](https://camo.githubusercontent.com/c41cee38813a8c886963e043fefc87c1990962731d2875041f5f431227c85444/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d676f636f6d5f7068702d74657874696c652d636c69266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=gocom_php-textile-cli)

CLI application for parsing Textile markup using [PHP-Textile](https://github.com/textile/php-textile) library, written in PHP. Accepts Textile markup input and converts it into well-formed HTML.

Install
-------

[](#install)

Using [Composer](https://getcomposer.org):

```
$ composer require rah/php-textile-cli
```

Or [download](https://github.com/gocom/php-textile-cli/releases/latest) a textile.zip from the releases. The ZIP contains a packaged textile.phar, man pages and shell completion definitions for bash, fish and zsh.

Usage
-----

[](#usage)

```
$ textile [
  [-t|--document-type ]
  [-d|--document-root-directory ]
  [-l|--lite]
  [-i|--no-images]
  [-L|--link-relationship ]
  [-r|--restricted]
  [-U|--raw-blocks]
  [-A|--align-classes]
  [-a|--no-align-classes]
  [-b|--no-block-tags]
  [-w|--no-line-wrap]
  [-p|--image-prefix ]
  [-P|--link-prefix ]
  [-z|--no-dimensions]
  [-o|--output ]
] [--] []
```

Examples:

```
$ echo "h1. Textile markup" | vendor/bin/textile
$ vendor/bin/textile -o path/to/README.html path/to/README.textile
$ vendor/bin/textile --help
```

Development
-----------

[](#development)

See [CONTRIBUTING.md](https://github.com/gocom/php-textile-cli/blob/master/CONTRIBUTING.md).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance55

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

2

Last Release

302d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a34b4e1b662cd2c926e8e89a76f93df266b199fe61508d38026cb952f28e59e?d=identicon)[rah](/maintainers/rah)

---

Top Contributors

[![gocom](https://avatars.githubusercontent.com/u/665186?v=4)](https://github.com/gocom "gocom (13 commits)")

---

Tags

cliparserhtmlcompilermarkuptextile

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rah-php-textile-cli/health.svg)

```
[![Health](https://phpackages.com/badges/rah-php-textile-cli/health.svg)](https://phpackages.com/packages/rah-php-textile-cli)
```

###  Alternatives

[netcarver/textile

Textile markup language parser

2311.5M16](/packages/netcarver-textile)[kzykhys/ciconia

The Markdown parser for PHP5.4

35366.7k13](/packages/kzykhys-ciconia)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[yoeunes/regex-parser

A powerful PCRE regex parser with lexer, AST builder, validation, ReDoS analysis, and syntax highlighting. Zero dependencies, blazing fast, and production-ready.

2946.4k5](/packages/yoeunes-regex-parser)

PHPackages © 2026

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