docs/build/cli/go/mod/graph/index.md
Snider 85bbb8e828 docs: initial import of CorePHP documentation
173 markdown files covering:
- Framework architecture (lifecycle events, module system, multi-tenancy)
- Package docs (admin, api, mcp, tenant, commerce, content, developer)
- CLI reference (dev, build, go, php, deploy commands)
- Patterns (actions, repositories, seeders, services, HLCRF)
- Deployment (Docker, PHP, LinuxKit, templates)
- Publishing (Homebrew, AUR, npm, Docker, Scoop, Chocolatey)

Source: core-php/docs (core.help content)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 17:51:03 +00:00

901 B

core go mod graph

Print module dependency graph.

Wrapper around go mod graph. Outputs the module dependency graph in text form.

Usage

core go mod graph

What It Does

  • Prints module dependencies as pairs
  • Each line shows: module@version dependency@version
  • Useful for understanding dependency relationships

Examples

# Print dependency graph
core go mod graph

# Find who depends on a specific module
core go mod graph | grep "some/module"

# Visualise with graphviz
core go mod graph | dot -Tpng -o deps.png

Output

github.com/host-uk/core github.com/stretchr/testify@v1.11.1
github.com/stretchr/testify@v1.11.1 github.com/davecgh/go-spew@v1.1.2
github.com/stretchr/testify@v1.11.1 github.com/pmezard/go-difflib@v1.0.1
...

See Also