An article about how to handle optional dependencies with composer.
-
Updated
Nov 5, 2026
An article about how to handle optional dependencies with composer.
Tests if a package is available to be imported. Useful for checking if optional dependencies are installed.
Make Pygments and markdown-it-py optional extras in rich 14.1.0 — 0 required deps, 78 render cases byte-identical
Offline baseline-aware npm optional dependency and selected-platform regression checks for v2/v3 lockfiles.
Import dependencies with dynamic imports without needing to care about catching errors when a dependency doesn't exist
Angular optional-dependencies practice
A lightweight CLI tool for rapid codebase analysis. Scan files, dependencies, and code metrics with zero configuration.
To associate your repository with the optional-dependencies topic, visit your repo's landing page and select "manage topics."