PHPackages                             phile/textile - 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. phile/textile

ActivePhile-plugin

phile/textile
=============

Replace the default parser (Markdown) in Phile with the PHP-Textile (https://github.com/textile/php-textile) parser.

118PHP

Since Dec 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/PhileCMS/Textile-Parser-Plugin)[ Packagist](https://packagist.org/packages/phile/textile)[ RSS](/packages/phile-textile/feed)WikiDiscussions master Synced 6d ago

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

Textile-Parser-Plugin
=====================

[](#textile-parser-plugin)

Replace the default parser (Markdown) in [Phile](https://github.com/PhileCMS/Phile) with the [PHP-Textile](https://github.com/textile/php-textile) parser.

### 1. Installation

[](#1-installation)

- Install [Phile](https://github.com/PhileCMS/Phile)

### 1.1 Installation (composer)

[](#11-installation-composer)

```
php composer.phar require phile/textile:*

```

### 1.2 Installation (Download)

[](#12-installation-download)

- Clone this repo into `plugins/phile/textile`

### 2. Activation

[](#2-activation)

After you have installed the plugin. You need to add the following line to your `config.php` file:

```
$config['plugins']['phile\\textile'] = array('active' => true);
```

Then add the Textile dependency to your composer.json file:

```
{
  "require": {
    "twig/twig": "1.14.*",
    "michelf/php-markdown": "1.3",
    "netcarver/textile": "3.5.*" // the textile parser
  }
}
```

Now run your `composer install` command as normal.

After you have installed the plugin. You need to add the following line to your `config.php` file:

```
$config['plugins'] = array(
  'phile\\parserMarkdown' => array('active' => false),
  'phile\\textile' => array('active' => true) // use textile
);
```

You will also need to use `.textile` file extensions for content. To change the default open the `index.php` file in the root directory, and change the following line:

```
define('CONTENT_EXT', '.textile'); // default is '.md'
```

### Not a drop in replacement for Markdown

[](#not-a-drop-in-replacement-for-markdown)

Textile is not Markdown. It is very similar but there are quite a few differences. Please see [this textile cheatsheet](http://warpedvisions.org/projects/textile-cheat-sheet.md "Textile Cheat Sheet") for the basic syntax.

I have included an `index.textile` file to show how to recreate the index content page from the default theme.

### Why use this over Markdown

[](#why-use-this-over-markdown)

- Personal Preference

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![james2doyle](https://avatars.githubusercontent.com/u/1425304?v=4)](https://github.com/james2doyle "james2doyle (6 commits)")[![NeoBlack](https://avatars.githubusercontent.com/u/1128085?v=4)](https://github.com/NeoBlack "NeoBlack (1 commits)")

### Embed Badge

![Health badge](/badges/phile-textile/health.svg)

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

PHPackages © 2026

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