jmiller 7f0e5e6226
Generic: Project CI / Tests (pull_request) Failing after 12s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Require Docs Update (pull_request) Has been skipped
Universal: PR Check / Wiki Update Reminder (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Generic: Project CI / Lint & Validate (pull_request) Successful in 39s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Cascade Main -> Dev / Cascade main -> dev (push) Successful in 9s
Generic: Standards Compliance / Secret Scanning (push) Failing after 5s
Generic: Standards Compliance / License Header Validation (push) Successful in 4s
Generic: Standards Compliance / Repository Structure Validation (push) Failing after 5s
Generic: Standards Compliance / Coding Standards Check (push) Successful in 9s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Successful in 1m17s
Generic: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
Generic: Standards Compliance / Documentation Quality Check (push) Successful in 5s
Generic: Standards Compliance / README Completeness Check (push) Failing after 4s
Generic: Standards Compliance / Git Repository Hygiene (push) Successful in 6s
Platform: mokocli CI / Gate 1: Code Quality (push) Successful in 1m17s
Generic: Standards Compliance / Version Consistency Check (push) Successful in 48s
Generic: Standards Compliance / File Naming Standards (push) Successful in 4s
Generic: Standards Compliance / Script Integrity Validation (push) Successful in 5s
Generic: Standards Compliance / Line Length Check (push) Successful in 6s
Generic: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
Generic: Standards Compliance / Dead Code Detection (push) Successful in 8s
Generic: Standards Compliance / File Size Limits (push) Successful in 5s
Generic: Standards Compliance / Binary File Detection (push) Successful in 8s
Generic: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
Generic: Standards Compliance / Code Complexity Analysis (push) Successful in 52s
Generic: Standards Compliance / Code Duplication Detection (push) Successful in 51s
Generic: Standards Compliance / Broken Link Detection (push) Successful in 7s
Generic: Standards Compliance / API Documentation Coverage (push) Successful in 4s
Generic: Standards Compliance / Accessibility Check (push) Successful in 4s
Generic: Standards Compliance / Performance Metrics (push) Successful in 4s
Generic: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 49s
Generic: Standards Compliance / Unused Dependencies Check (push) Successful in 53s
Generic: Standards Compliance / Terraform Configuration Validation (push) Successful in 8s
Generic: Standards Compliance / Enterprise Readiness Check (push) Failing after 48s
Generic: Standards Compliance / Repository Health Check (push) Failing after 48s
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (push) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: mokocli CI / CI Summary (push) Has been cancelled
Generic: Standards Compliance / Compliance Summary (push) Has been cancelled
Merge pull request 'fix(workflow-sync): platform detection via /metadata API' (#343) from fix/sync-platform-metadata into main
2026-07-14 04:29:43 +00:00
2026-05-20 01:26:39 +00:00

mokocli Enterprise API

Version PHP License

PHP implementation of mokocli — enterprise standards, automation framework, workflow templates, and bulk sync tooling.

Primary platform: MokoGitea — git.mokoconsulting.tech Backup mirror: GitHub (read-only mirror)

What Lives Here

Directory Purpose
lib/Enterprise/ 38 PHP enterprise library classes (platform adapters, sync, validation, plugins)
cli/ CLI scripts (archive, create, release, sync rulesets, version management)
automation/ Bulk sync, push files, repo cleanup, MokoGitea migration
validate/ 18 validation scripts (health, structure, secrets, syntax, drift)
templates/ Workflow templates and config templates synced to governed repos
definitions/ Repository structure definitions (.tf format)
deploy/ Deployment scripts (SFTP, Joomla)
maintenance/ Labels, inventory, SHA pinning, version sync
tools/ Standalone tools (legal doc generator)
tests/ PHPUnit test suite

Installation

composer require mokoconsulting-tech/enterprise

Composer Registry

This package is served from MokoGitea package registry. Add this to your composer.json:

{
    "repositories": [
        {
            "type": "composer",
            "url": "https://git.mokoconsulting.tech/api/packages/MokoConsulting/composer"
        }
    ]
}

CLI Tools

# Health check
vendor/bin/moko health -- --path .

# Sync standards
vendor/bin/moko sync

# Inventory
vendor/bin/moko inventory -- --path .

Platform Configuration

Variable Purpose
GIT_PLATFORM gitea (default) or github
GA_TOKEN MokoGitea API / MokoGitea Actions token
GH_TOKEN GitHub API token (for mirror sync)
GITEA_URL MokoGitea instance URL (default: https://git.mokoconsulting.tech)
GITEA_ORG MokoGitea organization (default: MokoConsulting)

License

GPL-3.0-or-later — See LICENSE.md

S
Description
Enterprise CLI automation, validation, and governance engine for all Moko Consulting repositories — 45+ tools, shared CI workflows, 7 MCP servers
Readme
26 MiB
2026-07-05 20:31:05 +00:00
Languages
PHP 63%
JavaScript 16.8%
TypeScript 8.5%
Markdown 4.7%
Shell 4%
Other 3%