# mugoweb/eep architecture

> Architecture diagram of the GitHub repository mugoweb/eep, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mugoweb/eep
- Repository: https://github.com/mugoweb/eep

## Overview

eep is a command-line toolkit for developers working with eZ Publish. The workflow is to select an instance and working content context with `use`, invoke a domain module to inspect or change content and configuration, and receive command-line output. Its main capabilities span content classes and attributes, objects and nodes, listing, search indexing, user and site administration, and developer knowledge-base snippets. The graph shows dispatch and calls supported by excerpts or README statements; several listed modules were not sampled, so their internal interactions are omitted.

Main entry points: [`eep.php`](https://github.com/mugoweb/eep/blob/master/eep.php) (Command dispatcher), [`modules/knowledgebase/index.php`](https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/index.php) (Knowledge snippets), [`modules/contentclass/index.php`](https://github.com/mugoweb/eep/blob/master/modules/contentclass/index.php) (Content classes), [`modules/list/index.php`](https://github.com/mugoweb/eep/blob/master/modules/list/index.php) (Content and config lists)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["CLI runtime"]
  node_dispatcher["Command dispatcher<br/>[eep.php]"]
  node_settings["Runtime settings<br/>[eepSetting.php]"]
  node_helpers["CLI helpers<br/>[eepHelpers.php]"]
  node_validation["Input validation<br/>[eepValidate.php]"]
  node_cache["Context cache<br/>[eepCache.php]"]
  node_logging["Logging<br/>[eepLog.php]"]
end

subgraph group_content["Content management"]
  node_class["Content classes<br/>[index.php]"]
  node_attributes["Attribute operations<br/>[index.php]"]
  node_attribute_lib["Attribute functions"]
  node_objects["Content objects<br/>[index.php]"]
  node_nodes["Content nodes<br/>[index.php]"]
  node_creation["Content creation<br/>[index.php]"]
  node_listing["Content and config lists<br/>[index.php]"]
  node_classgroups["Class groups<br/>[index.php]"]
end

subgraph group_operations["Site operations"]
  node_selection["Instance and context<br/>[index.php]"]
  node_search["Search index tools<br/>[index.php]"]
  node_solr(("Solr service"))
  node_cache_ops["Cache commands<br/>[index.php]"]
  node_cron["Cron daemon<br/>[index.php]"]
  node_sections["Sections<br/>[index.php]"]
  node_trash["Trash<br/>[index.php]"]
  node_users["Users and roles<br/>[index.php]"]
  node_roles["Role commands<br/>[index.php]"]
  node_ezflow["eZ Flow tools<br/>[index.php]"]
end

subgraph group_support["Developer support"]
  node_help["Command help<br/>[index.php]"]
  node_knowledge["Knowledge snippets<br/>[index.php]"]
  node_debug_snippet["Debug settings"]
  node_vhost_snippet["Virtual host template"]
  node_sql_snippet["Language SQL"]
end

node_developer(("Developer"))

node_developer -->|"runs command"| node_dispatcher
node_dispatcher -->|"dispatches module"| node_selection
node_dispatcher -->|"dispatches module"| node_class
node_dispatcher -->|"dispatches module"| node_attributes
node_dispatcher -->|"dispatches module"| node_objects
node_dispatcher -->|"dispatches module"| node_nodes
node_dispatcher -->|"dispatches module"| node_creation
node_dispatcher -->|"dispatches module"| node_listing
node_dispatcher -->|"dispatches module"| node_classgroups
node_dispatcher -->|"dispatches module"| node_search
node_dispatcher -->|"dispatches module"| node_cache_ops
node_dispatcher -->|"dispatches module"| node_cron
node_dispatcher -->|"dispatches module"| node_sections
node_dispatcher -->|"dispatches module"| node_trash
node_dispatcher -->|"dispatches module"| node_users
node_dispatcher -->|"dispatches module"| node_roles
node_dispatcher -->|"dispatches module"| node_ezflow
node_dispatcher -->|"dispatches module"| node_help
node_dispatcher -->|"dispatches module"| node_knowledge
node_attributes -->|"calls functions"| node_attribute_lib
node_class -->|"uses functions"| node_attribute_lib
node_listing -->|"uses functions"| node_attribute_lib
node_knowledge -->|"loads snippet"| node_debug_snippet
node_knowledge -->|"loads snippet"| node_vhost_snippet
node_knowledge -->|"loads snippet"| node_sql_snippet
node_search -->|"sends index requests"| node_solr
node_developer -->|"selects instance"| node_selection
node_developer -->|"requests listing"| node_listing
node_developer -->|"requests creation"| node_creation
node_developer -->|"sets class context"| node_class
node_developer -->|"sets node context"| node_nodes
node_developer -->|"requests help"| node_help

click node_dispatcher "https://github.com/mugoweb/eep/blob/master/eep.php"
click node_settings "https://github.com/mugoweb/eep/blob/master/eepSetting.php"
click node_helpers "https://github.com/mugoweb/eep/blob/master/lib/eepHelpers.php"
click node_validation "https://github.com/mugoweb/eep/blob/master/lib/eepValidate.php"
click node_cache "https://github.com/mugoweb/eep/blob/master/lib/eepCache.php"
click node_logging "https://github.com/mugoweb/eep/blob/master/lib/eepLog.php"
click node_class "https://github.com/mugoweb/eep/blob/master/modules/contentclass/index.php"
click node_attributes "https://github.com/mugoweb/eep/blob/master/modules/attribute/index.php"
click node_attribute_lib "https://github.com/mugoweb/eep/blob/master/lib/AttributeFunctions.php"
click node_objects "https://github.com/mugoweb/eep/blob/master/modules/contentobject/index.php"
click node_nodes "https://github.com/mugoweb/eep/blob/master/modules/contentnode/index.php"
click node_creation "https://github.com/mugoweb/eep/blob/master/modules/create/index.php"
click node_listing "https://github.com/mugoweb/eep/blob/master/modules/list/index.php"
click node_classgroups "https://github.com/mugoweb/eep/blob/master/modules/contentclassgroup/index.php"
click node_selection "https://github.com/mugoweb/eep/blob/master/modules/use/index.php"
click node_search "https://github.com/mugoweb/eep/blob/master/modules/ezfind/index.php"
click node_cache_ops "https://github.com/mugoweb/eep/blob/master/modules/cache/index.php"
click node_cron "https://github.com/mugoweb/eep/blob/master/modules/crondaemon/index.php"
click node_sections "https://github.com/mugoweb/eep/blob/master/modules/section/index.php"
click node_trash "https://github.com/mugoweb/eep/blob/master/modules/trash/index.php"
click node_users "https://github.com/mugoweb/eep/blob/master/modules/user/index.php"
click node_roles "https://github.com/mugoweb/eep/blob/master/modules/role/index.php"
click node_ezflow "https://github.com/mugoweb/eep/blob/master/modules/ezflow/index.php"
click node_help "https://github.com/mugoweb/eep/blob/master/modules/help/index.php"
click node_knowledge "https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/index.php"
click node_debug_snippet "https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_ezdebug.php"
click node_vhost_snippet "https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_vhost.php"
click node_sql_snippet "https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_resetlanguagesql.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dispatcher,node_settings,node_helpers,node_validation,node_cache,node_logging toneBlue
class node_class,node_attributes,node_attribute_lib,node_objects,node_nodes,node_creation,node_listing,node_classgroups toneAmber
class node_selection,node_search,node_solr,node_cache_ops,node_cron,node_sections,node_trash,node_users,node_roles,node_ezflow toneMint
class node_help,node_knowledge,node_debug_snippet,node_vhost_snippet,node_sql_snippet toneRose
class node_developer toneIndigo
```

## Components

### CLI runtime

- [Command dispatcher](https://github.com/mugoweb/eep/blob/master/eep.php): `eep.php`
- [Runtime settings](https://github.com/mugoweb/eep/blob/master/eepSetting.php): `eepSetting.php`
- [CLI helpers](https://github.com/mugoweb/eep/blob/master/lib/eepHelpers.php): `lib/eepHelpers.php`
- [Input validation](https://github.com/mugoweb/eep/blob/master/lib/eepValidate.php): `lib/eepValidate.php`
- [Context cache](https://github.com/mugoweb/eep/blob/master/lib/eepCache.php): `lib/eepCache.php`
- [Logging](https://github.com/mugoweb/eep/blob/master/lib/eepLog.php): `lib/eepLog.php`

### Content management

- [Content classes](https://github.com/mugoweb/eep/blob/master/modules/contentclass/index.php): `modules/contentclass/index.php`
- [Attribute operations](https://github.com/mugoweb/eep/blob/master/modules/attribute/index.php): `modules/attribute/index.php`
- [Attribute functions](https://github.com/mugoweb/eep/blob/master/lib/AttributeFunctions.php): `lib/AttributeFunctions.php`
- [Content objects](https://github.com/mugoweb/eep/blob/master/modules/contentobject/index.php): `modules/contentobject/index.php`
- [Content nodes](https://github.com/mugoweb/eep/blob/master/modules/contentnode/index.php): `modules/contentnode/index.php`
- [Content creation](https://github.com/mugoweb/eep/blob/master/modules/create/index.php): `modules/create/index.php`
- [Content and config lists](https://github.com/mugoweb/eep/blob/master/modules/list/index.php): `modules/list/index.php`
- [Class groups](https://github.com/mugoweb/eep/blob/master/modules/contentclassgroup/index.php): `modules/contentclassgroup/index.php`

### Site operations

- [Instance and context](https://github.com/mugoweb/eep/blob/master/modules/use/index.php): `modules/use/index.php`
- [Search index tools](https://github.com/mugoweb/eep/blob/master/modules/ezfind/index.php): `modules/ezfind/index.php`
- **Solr service**
- [Cache commands](https://github.com/mugoweb/eep/blob/master/modules/cache/index.php): `modules/cache/index.php`
- [Cron daemon](https://github.com/mugoweb/eep/blob/master/modules/crondaemon/index.php): `modules/crondaemon/index.php`
- [Sections](https://github.com/mugoweb/eep/blob/master/modules/section/index.php): `modules/section/index.php`
- [Trash](https://github.com/mugoweb/eep/blob/master/modules/trash/index.php): `modules/trash/index.php`
- [Users and roles](https://github.com/mugoweb/eep/blob/master/modules/user/index.php): `modules/user/index.php`
- [Role commands](https://github.com/mugoweb/eep/blob/master/modules/role/index.php): `modules/role/index.php`
- [eZ Flow tools](https://github.com/mugoweb/eep/blob/master/modules/ezflow/index.php): `modules/ezflow/index.php`

### Developer support

- [Command help](https://github.com/mugoweb/eep/blob/master/modules/help/index.php): `modules/help/index.php`
- [Knowledge snippets](https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/index.php): `modules/knowledgebase/index.php`
- [Debug settings](https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_ezdebug.php): `modules/knowledgebase/knowledgebase_ezdebug.php`
- [Virtual host template](https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_vhost.php): `modules/knowledgebase/knowledgebase_vhost.php`
- [Language SQL](https://github.com/mugoweb/eep/blob/master/modules/knowledgebase/knowledgebase_resetlanguagesql.php): `modules/knowledgebase/knowledgebase_resetlanguagesql.php`

### Other components

- **Developer**

## Connections

- Developer → Command dispatcher: runs command (evidence: `README.md`)
- Command dispatcher → Instance and context: dispatches module (evidence: `eep.php`)
- Command dispatcher → Content classes: dispatches module (evidence: `eep.php`)
- Command dispatcher → Attribute operations: dispatches module (evidence: `eep.php`)
- Command dispatcher → Content objects: dispatches module (evidence: `eep.php`)
- Command dispatcher → Content nodes: dispatches module (evidence: `eep.php`)
- Command dispatcher → Content creation: dispatches module (evidence: `eep.php`)
- Command dispatcher → Content and config lists: dispatches module (evidence: `eep.php`)
- Command dispatcher → Class groups: dispatches module (evidence: `eep.php`)
- Command dispatcher → Search index tools: dispatches module (evidence: `eep.php`)
- Command dispatcher → Cache commands: dispatches module (evidence: `eep.php`)
- Command dispatcher → Cron daemon: dispatches module (evidence: `eep.php`)
- Command dispatcher → Sections: dispatches module (evidence: `eep.php`)
- Command dispatcher → Trash: dispatches module (evidence: `eep.php`)
- Command dispatcher → Users and roles: dispatches module (evidence: `eep.php`)
- Command dispatcher → Role commands: dispatches module (evidence: `eep.php`)
- Command dispatcher → eZ Flow tools: dispatches module (evidence: `eep.php`)
- Command dispatcher → Command help: dispatches module (evidence: `eep.php`)
- Command dispatcher → Knowledge snippets: dispatches module (evidence: `eep.php`)
- Attribute operations → Attribute functions: calls functions (evidence: `modules/attribute/index.php`)
- Content classes → Attribute functions: uses functions (evidence: `modules/contentclass/index.php`)
- Content and config lists → Attribute functions: uses functions (evidence: `modules/list/index.php`)
- Knowledge snippets → Debug settings: loads snippet (evidence: `modules/knowledgebase/index.php`)
- Knowledge snippets → Virtual host template: loads snippet (evidence: `modules/knowledgebase/index.php`)
- Knowledge snippets → Language SQL: loads snippet (evidence: `modules/knowledgebase/index.php`)
- Search index tools → Solr service: sends index requests (evidence: `modules/ezfind/index.php`)
- Developer → Instance and context: selects instance (evidence: `README.md`)
- Developer → Content and config lists: requests listing (evidence: `README.md`)
- Developer → Content creation: requests creation (evidence: `README.md`)
- Developer → Content classes: sets class context (evidence: `README.md`)
- Developer → Content nodes: sets node context (evidence: `README.md`)
- Developer → Command help: requests help (evidence: `README.md`)
