承接 dantleech/depgraph 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dantleech/depgraph

Composer 安装命令:

composer require dantleech/depgraph

包简介

Comprehensable Composer PHP dependency diagrams for your small business or enterprise.

README 文档

README

CI

Generates rich dependency diagrams for your composer-based PHP project.

Image

Above you can see:

  • Dotted lines indicate a dev dependency.
  • Bold lines indicate a direct dependency.
  • Package version constraints listed on the lines.
  • Licence information
  • Red nodes indicate a package with security issues.
  • Orange nodes are abandonned.
  • Yellow nodes are outdated.
    • @1.0.0 indicates the installed version.
    • =1.0.0 indicates the latest version.
  • The distance from the root package is shown as +[0-n]
Image

Installation

You could install it as follows:

git clone git@github.com:dantleech/depgraph
cd depgraph
composer install
ln -s $(pwd)/bin/depgraph $HOME/.local/bin/depgraph

You could also include it as a project dependency if you want:

composer require --dev dantleech/depgraph

Features

  • Limit to production or dependency packages (--no-dev --no-prod).
  • Limit depth of graph (--max-depth=2)
  • Highlight packages with CVEs (--audit)
  • Highlight outdated packages (--outdated)

Usage

Warning

Depgraph generates Graphviz Dot files. You will need to install the Graphviz on your operating system to access the dot binary.

The depgraph script will output a Graphviz Dot file to stdout. You can pipe it directly to the dot binary to generate a diagram:

depgraph | dot -Tsvg -ograph.svg

Specify a composer file:

depgraph path/to/my/composer.json | dot -Tsvg -ograph.svg

Do the slower things and output to a PNG:

depgraph path/to/my/composer.json --audit --outdated | dot -Tpng -ograph.png

🩸 made with blood and tears by you 🫵

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固