PHPackages                             lossendae/commonmark-task-lists - 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. lossendae/commonmark-task-lists

Abandoned → [league/commonmark-ext-task-list](/?search=league%2Fcommonmark-ext-task-list)ArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

lossendae/commonmark-task-lists
===============================

Github Task Lists for CommonMark PHP implementation

0.2.0(10y ago)0321MITPHPPHP &gt;=5.4

Since Sep 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lossendae/commonmark-task-lists)[ Packagist](https://packagist.org/packages/lossendae/commonmark-task-lists)[ Docs](https://github.com/lossendae/commonmark-task-lists.git)[ RSS](/packages/lossendae-commonmark-task-lists/feed)WikiDiscussions master Synced 1mo ago

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

CommonMark task Lists
=====================

[](#commonmark-task-lists)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/85a48543c96f62ac62fcfe79af5174bd0b8823aafe2da9ad70c83696d2c82041/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6f7373656e6461652f636f6d6d6f6e6d61726b2d7461736b2d6c697374732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lossendae/commonmark-task-lists/?branch=master)[![Build Status](https://camo.githubusercontent.com/2fbc7934a7fc0af2b1ad18e2bcb99af0ca5d2bead11a20d1c9c9ded3c78924a6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6f7373656e6461652f636f6d6d6f6e6d61726b2d7461736b2d6c697374732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lossendae/commonmark-task-lists/build-status/master)[![License](https://camo.githubusercontent.com/4d9614cd68c5da7b32141d00f1a7aa86b54799505a9fdd37468ff3a6246d4f78/68747470733a2f2f706f7365722e707567782e6f72672f6c6f7373656e6461652f636f6d6d6f6e6d61726b2d7461736b2d6c697374732f6c6963656e7365)](https://packagist.org/packages/lossendae/commonmark-task-lists)

> This project is deprecated, please use the extension provided by phpleague : [GFM-style task list extension for league/commonmark](https://github.com/thephpleague/commonmark-ext-task-list)

Implements github flavored task-lists to phpleague/commonmark : )

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

[](#installation)

This project can be installed via Composer:

```
composer require lossendae/commonmark-task-lists

```

Usage
-----

[](#usage)

```
use League\CommonMark\Converter;
use League\CommonMark\DocParser;
use League\CommonMark\Environment;
use League\CommonMark\HtmlRenderer;
use Lossendae\CommonMark\TaskLists\TaskListsParser;
use Lossendae\CommonMark\TaskLists\TaskListsCheckboxRenderer;

$environment = Environment::createCommonMarkEnvironment();
$environment->addInlineRenderer('Lossendae\CommonMark\TaskLists\TaskListsCheckbox', new TaskListsCheckboxRenderer());
$environment->addInlineParser(new TaskListsParser());

$converter = new Converter(new DocParser($environment), new HtmlRenderer($environment));

echo $converter->convertToHtml('# Hello World!');
```

Syntax
------

[](#syntax)

Lists can be turned into task lists by prefacing list items with \[ \] or \[x\] (incomplete or complete, respectively).

```
- [x] @mentions, #refs, [links](), **formatting**, and tags are supported
- [x] list syntax is required (any unordered or ordered list supported)
- [x] this is a complete item
- [ ] this is an incomplete item

```

Task lists render with checkboxes once parsed by CommonMark. Select or unselect these checkboxes to mark them as complete or incomplete in your document.

Task lists can be nested to better structure your tasks:

```
- [ ] a bigger project
  - [ ] first subtask #1234
  - [ ] follow up subtask #4321
  - [ ] final subtask cc @mention
- [ ] a separate task

```

Task lists can be nested to arbitrary depths, though we recommend nesting at most once or twice; more complicated tasks should be broken out into separate lists.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~2 days

Total

2

Last Release

3892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0361d68917175dc3a316e619417529d93b98e4a53a447bb11223e3be8ac85cec?d=identicon)[lossendae](/maintainers/lossendae)

---

Top Contributors

[![lossendae](https://avatars.githubusercontent.com/u/345686?v=4)](https://github.com/lossendae "lossendae (14 commits)")[![sanpii](https://avatars.githubusercontent.com/u/113045?v=4)](https://github.com/sanpii "sanpii (4 commits)")

---

Tags

markdowncommonmarkcheckliststask-lists

### Embed Badge

![Health badge](/badges/lossendae-commonmark-task-lists/health.svg)

```
[![Health](https://phpackages.com/badges/lossendae-commonmark-task-lists/health.svg)](https://phpackages.com/packages/lossendae-commonmark-task-lists)
```

###  Alternatives

[torchlight/torchlight-commonmark

A Commonmark extension for Torchlight, the syntax highlighting API.

29256.6k6](/packages/torchlight-torchlight-commonmark)[zoon/commonmark-ext-youtube-iframe

Extension for league/commonmark to replace youtube link with iframe

12275.9k1](/packages/zoon-commonmark-ext-youtube-iframe)

PHPackages © 2026

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