PHPackages                             czukowski/markdown-tables - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. czukowski/markdown-tables

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

czukowski/markdown-tables
=========================

RST Grid Tables parser for cebe/markdown

1.0.4(9y ago)0414MITPHPPHP &gt;=5.4.0

Since Sep 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/czukowski/markdown-tables)[ Packagist](https://packagist.org/packages/czukowski/markdown-tables)[ Docs](https://github.com/czukowski/markdown-tables)[ RSS](/packages/czukowski-markdown-tables/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Grid Tables for cebe/markdown
=============================

[](#grid-tables-for-cebemarkdown)

This package adds support for reStructuredText's (RST) [Grid Tables](http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#grid-tables) syntax to [cebe's Markdown](https://github.com/cebe/markdown) implementation.

The motivation behind it is that technical documentation often requires a support for tables that are complex, can span rows and columns and contain block elements. Grid Tables for RST provide that, even though they're harder to type than other table implementations in Markdown.

The current implementation is a port of Grid Tables parser from [Docutils](https://sourceforge.net/projects/docutils/) module originally written in Python by David Goodger. Note that Docutils's scope is far greater than Grid Tables and my intention was not to replicate all of it. One considered extension is eventually adding support for [Simple Tables](http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#simple-tables) syntax, especially since the current code structure makes it relatively easy task.

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

[](#installation)

Recommended installation is via [composer](https://getcomposer.org/) by running:

```
composer require czukowski/markdown-tables "~1.0"

```

Alternatively you may add the following to the `require` section of your project's `composer.json`manually and then run `composer update` from the command line:

```
"czukowski/markdown-tables: "~1.0"
```

Usage
-----

[](#usage)

This package provides a `RSTTableBlockTrait` that may be used in classes extending the cebe's original Markdown parsers.

Alternatively, three extensions are provided for easy use (pick one that suits best):

```
use Cz\Markdown;

$markdownWithRSTTables = new MarkdownWithRSTTables;
$githubMarkdownWithRSTTables = new GithubMarkdownWithRSTTables;
$markdownExtraWithRSTTables = new MarkdownExtraWithRSTTables;
```

For more information refer to the [original Readme file](https://github.com/cebe/markdown#usage).

Known Issues
------------

[](#known-issues)

If the tables seem broken, make sure a correct default encoding is set beforehand, for example:

```
// Set default encoding to UTF-8.
mb_internal_encoding('UTF-8');
```

License
-------

[](#license)

The distribution is permitted under the MIT License. See LICENSE.md for details.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

3534d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/186792?v=4)[Korney Czukowski](/maintainers/czukowski)[@czukowski](https://github.com/czukowski)

---

Top Contributors

[![czukowski](https://avatars.githubusercontent.com/u/186792?v=4)](https://github.com/czukowski "czukowski (11 commits)")

---

Tags

grid-tablemarkdownrstmarkdowngridtablerst

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/czukowski-markdown-tables/health.svg)

```
[![Health](https://phpackages.com/badges/czukowski-markdown-tables/health.svg)](https://phpackages.com/packages/czukowski-markdown-tables)
```

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.1k155.2M843](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

3.0k437.5M950](/packages/league-commonmark)[michelf/php-markdown

PHP Markdown

3.5k53.8M371](/packages/michelf-php-markdown)[league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

1.9k31.0M276](/packages/league-html-to-markdown)[cebe/markdown

A super fast, highly extensible markdown parser for PHP

1.0k33.5M146](/packages/cebe-markdown)[cebe/markdown-latex

A super fast, highly extensible markdown parser for PHP, that converts markdown files into latex

50775.4k8](/packages/cebe-markdown-latex)

PHPackages © 2026

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