GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - php-fast-forward/phpdoc-bootstrap-template: A clean and modern Bootstrap-based template for phpDocumentor, designed to improve readability, navigation, and overall developer experience.

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
components
components
 
 
css
css
 
 
data
data
 
 
docs/_static
docs/_static
 
 
graphs
graphs
 
 
guides
guides
 
 
indices
indices
 
 
js
js
 
 
reports
reports
 
 
resources/skills/fast-forward-phpdoc-bootstrap-template
resources/skills/fast-forward-phpdoc-bootstrap-template
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DESIGN.md
DESIGN.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
base.html.twig
base.html.twig
 
 
class.html.twig
class.html.twig
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
enum.html.twig
enum.html.twig
 
 
file.html.twig
file.html.twig
 
 
index.html.twig
index.html.twig
 
 
interface.html.twig
interface.html.twig
 
 
layout.html.twig
layout.html.twig
 
 
namespace.html.twig
namespace.html.twig
 
 
package.html.twig
package.html.twig
 
 
skills.json
skills.json
 
 
template.xml
template.xml
 
 
trait.html.twig
trait.html.twig
 
 

Repository files navigation

PHPDocumentor Bootstrap Template

Dash designing responsive documentation with navigation and code examples

A clean and modern Bootstrap-based template for phpDocumentor, designed to improve readability, navigation, and overall developer experience.

PHP Version Composer Package License GitHub Sponsors

Features

  • Modern UI built with Bootstrap 5
  • Improved navigation and layout
  • Clean typography and spacing
  • Enhanced "On this page" sidebar
  • Better search UI integration
  • Responsive and mobile-friendly
  • Styled code blocks and documentation elements
  • Improved tables of contents and element listings
  • Designed for documentation sets that provide guides

Fast Forward design system

The template implements the approved documentation pattern: a navy navigation rail, neutral reading surface, purple active states, system typography, navy code blocks, the fox signature and Dash as a reading companion. Bootstrap 5 remains the layout and navigation foundation.

The toolbar offers light and navy reading surfaces through a compact sun/moon button. The preference is stored locally when storage is available; reading works without JavaScript. Code blocks gain a window header with a language label. An icon Copy control appears when the browser supports the Clipboard API. Mobile navigation can be collapsed without JavaScript.

See DESIGN.md for token mappings, assets and PHP validation. Generated sites receive the required images through the template transformations, including nested guide and API pages.

Installation

Install the template with Composer:

composer require --dev fast-forward/phpdoc-bootstrap-template

Usage

Reference the template from vendor in your phpdoc.xml. This template is designed for projects that ship guides, and the guide output should point to the documentation root (.) so the guide index becomes the homepage:

<?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor
    configVersion="3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"
>
    <paths>
        <output>build/docs</output>
    </paths>

    <version number="1.0.0">
        <api>
            <source dsn=".">
                <path>src</path>
            </source>
        </api>
        <guide format="rst">
            <source dsn=".">
                <path>docs</path>
            </source>
            <output>.</output>
        </guide>
    </version>

    <template name="vendor/fast-forward/phpdoc-bootstrap-template" />
</phpdocumentor>

You can also generate documentation directly from the command line:

vendor/bin/phpdoc --template vendor/fast-forward/phpdoc-bootstrap-template

Or with a config file:

vendor/bin/phpdoc --config phpdoc.xml

With this setup, the guide index document is rendered as the root index.html.

Requirements

  • PHP 8.3+
  • phpDocumentor 3+

Customization

You can customize the template by overriding Twig files in your own project or by forking this package.

Typical customization points include:

  • layout structure
  • sidebar navigation
  • search UI
  • cards and content sections
  • Bootstrap styling

Consumer agent skill

The package bundles fast-forward-phpdoc-bootstrap-template for agents configuring guide homepages, API generation and output checks. It supports template ^2.1.1, PHP ^8.3 and phpDocumentor shim ^3.9, and includes an existing DevTools reports route. The template itself does not install phpDocumentor or activate an agent skill.

See skill installation and lifecycle for optional project synchronization with llm/skills ^1.15, guarded manual project/global copies and a pinned Skills CLI alternative.

Contributing

Contributions are welcome. Please open an issue or submit a pull request.

📄 License

This package is licensed under the MIT License. See the LICENSE file for more details.

About

A clean and modern Bootstrap-based template for phpDocumentor, designed to improve readability, navigation, and overall developer experience.

Topics

bootstrapdocsdocumentationphpdocumentorphpdocumentor-templatetwigtwig-templates

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Accessibility

Accessibility
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.