comphp/docs

Markdown-powered documentation rendering and navigation for PHP applications.

Maintainers

Package info

github.com/commonphp/docs

pkg:composer/comphp/docs

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.3 2026-05-20 01:49 UTC

This package is auto-updated.

Last update: 2026-05-20 01:50:29 UTC


README

CommonPHP Docs provides Markdown-powered documentation rendering for CommonPHP applications. It turns application, package, or module documentation into browsable documentation pages with predictable navigation.

The package helps CommonPHP applications ship useful documentation alongside the code that provides the behavior.

Requirements

  • PHP ^8.5
  • comphp/runtime:^0.3

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/docs

Usage

<?php

// TODO: Write usage

Package Notes

This package should render Markdown documentation, build navigation trees, and expose documentation through the appropriate HTTP/web integration. It should not own the full router or HTTP stack.

Error Handling

Missing documents, invalid paths, parse failures, and rendering errors should throw CommonPHP docs exceptions or return appropriate HTTP responses through the docs surface.

Documentation

License

MIT. See LICENSE.md.