[GH-ISSUE #790] Migrate from erusev/parsedown to league/commonmark #478

Closed
opened 2026-02-25 21:35:08 +03:00 by kerem · 3 comments
Owner

Originally created by @marclaporte on GitHub (Oct 10, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/790

Now: https://packagist.org/packages/erusev/parsedown

I want us to move to https://packagist.org/packages/league/commonmark

Why?
Tiki developers (who contribute a lot to Cypht) are experienced with league/commonmark: https://doc.tiki.org/Tiki-Flavored-Markdown

So in general, it makes sense to harmonize for the dependencies.

Both packages are popular and maintained. However, league/commonmark has more sub-depedencies. Not an issue for Tiki, but Cypht tries to be more lightweight.

Originally created by @marclaporte on GitHub (Oct 10, 2023). Original GitHub issue: https://github.com/cypht-org/cypht/issues/790 Now: https://packagist.org/packages/erusev/parsedown I want us to move to https://packagist.org/packages/league/commonmark Why? Tiki developers (who contribute a lot to Cypht) are experienced with league/commonmark: https://doc.tiki.org/Tiki-Flavored-Markdown So in general, it makes sense to harmonize for the dependencies. Both packages are popular and maintained. However, league/commonmark has more sub-depedencies. Not an issue for Tiki, but Cypht tries to be more lightweight.
kerem closed this issue 2026-02-25 21:35:08 +03:00
Author
Owner

@kroky commented on GitHub (Oct 11, 2023):

It would add just a couple more composer packages to the vendor dir. Doesn't seem a big change. Also, Cypht currently uses Parsedown in just one place, so replacing will be easy.

<!-- gh-comment-id:1757172133 --> @kroky commented on GitHub (Oct 11, 2023): It would add just a couple more composer packages to the vendor dir. Doesn't seem a big change. Also, Cypht currently uses Parsedown in just one place, so replacing will be easy.
Author
Owner

@kambereBr commented on GitHub (Oct 29, 2023):

Here is the Pull Request : https://github.com/cypht-org/cypht/pull/812

<!-- gh-comment-id:1784195179 --> @kambereBr commented on GitHub (Oct 29, 2023): Here is the Pull Request : https://github.com/cypht-org/cypht/pull/812
Author
Owner

@marclaporte commented on GitHub (Oct 29, 2023):

league/commonmark is much more active:
https://openhub.net/p/_compare?project_0=league%2Fcommonmark+%28PHP%29&project_1=parsedown

<!-- gh-comment-id:1784216118 --> @marclaporte commented on GitHub (Oct 29, 2023): league/commonmark is much more active: https://openhub.net/p/_compare?project_0=league%2Fcommonmark+%28PHP%29&project_1=parsedown
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#478
No description provided.