ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Add `league/commonmark` as composer Dependency for ILIAS 12

Open chfsx opened this issue 1 month ago • 1 comments

Assessment: league/commonmark is a robust and extensible PHP library for parsing and rendering Markdown, offering compliance with the CommonMark specification and providing advanced features like extensions and customizations.

General Information:

  • Name of the dependency: league/commonmark
  • Version: 2.7.0
  • [X] this dependency was already used in ILIAS.
  • [X] the dependency's license is compatible with ILIAS' license: BSD-3

Type of dependency:

  • [X] composer
  • [ ] npm

Usage:

  • \ILIAS\UI\Implementation\Component\Input\Field\Markdown

Reasoning: The library simplifies Markdown processing with a modern, object-oriented design, making it easy to integrate and extend for specific project needs while ensuring high performance and standards compliance.

Maintenance: Last update of the Library: 2025-05-05, PHP Version: ^7.4 || ^8.0

Links:

  • Packagist: https://packagist.org/packages/league/commonmark
  • GitHub: https://github.com/thephpleague/commonmark.git
  • Documentation: https://commonmark.thephpleague.com

Alternatives: Alternatives like parsedown are simpler but lack extensibility and have a history of security concerns, while lower-level implementations require more development effort to match the flexibility and compliance offered by league/commonmark.

chfsx avatar Dec 05 '25 15:12 chfsx

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

matthiaskunkel avatar Dec 08 '25 15:12 matthiaskunkel