webuni/commonmark-table-extension
Deprecated: GitHub-Flavored Markdown table support for league/commonmark. Functionality is now bundled in league/commonmark 1.3+ as League\CommonMark\Extension\Table—upgrade and use the built-in TableExtension for parsing/rendering tables.
league/commonmark for Markdown parsing (e.g., in CMS plugins, documentation generators, or rich-text editors).league/commonmark extensions, enabling consistent configuration and behavior.league/commonmark (v1.3+). This creates technical debt and maintenance risk.league/commonmark releases.Table extension), Low (for continued use of this package).
league/commonmark-ext-table with the built-in Table extension in league/commonmark (v1.3+) is straightforward:
composer.json to require league/commonmark:^1.3.use League\CommonMark\Ext\Table\TableExtension; with the built-in extension (no longer needed; tables are enabled by default in v1.3+).TableExtension may need updates to work with the built-in version.Table extension supports all features of the deprecated package, including alignment, headers, and captions.league/commonmark. Mitigate by keeping league/commonmark updated.Table extension?
league/commonmark v1.3+ may have stricter requirements. Verify compatibility with the application’s PHP version.league/commonmark for Markdown processing (e.g., CMS plugins like Spatie Media Library, Laravel Nova, or custom documentation tools).league/commonmark (integration would require wrapping the parser, adding complexity).Assessment Phase:
league/commonmark-ext-table in the codebase (e.g., via composer why league/commonmark-ext-table).TableExtension that may not be compatible with the built-in version.Update Dependencies:
composer.json to require league/commonmark:^1.3:
"require": {
"league/commonmark": "^1.3"
}
league/commonmark-ext-table from composer.json and run composer update.Configuration Update:
TableExtension, remove this step (tables are enabled by default in v1.3+).// Old (deprecated)
$environment->addExtension(new League\CommonMark\Ext\Table\TableExtension());
// New (built-in)
// No action required; tables are enabled by default.
Testing:
league/commonmark-ext-gfm).Deployment:
Table extension eliminates the need to monitor an archived package.league/commonmark team.league/commonmark-ext-table).composer.json or docs), add warnings to migrate.Table extension’s usage (though it’s identical to the old one).league/commonmark is updated and tables are not disabled).How can I help you explore Laravel packages today?