定制 nelson6e65/phpdoc-vuepress 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nelson6e65/phpdoc-vuepress

最新稳定版本:v1.0.1

Composer 安装命令:

composer require nelson6e65/phpdoc-vuepress

包简介

Template for generating your PHP API documentation in a pretty VuePress format.

README 文档

README

Card

PHPDoc-VuePress

Documentation build

Packagist PHP Versions

GitHub release Latest Version Latest unstable Version

License Documentation Wakatime

Template for generating your PHP API documentation in a pretty VuePress format.

This package provides a phpDocumentor 2 template to generate the API documentation of your code to be integrated in a nice looking VuePress project.

WIP: 🚧🏗 Compatibility with phpDocumentor 3 in progress.

Features

This template will generate six VuePress *.md files with the DocBlock documentation in your target directory:

  • README.md: Entry point of your API Documentation. Contains, at the moment, an introduction and references to blocks used in the site.
  • classes.md: Contains all classes, sorted by namespace.
  • interfaces.md: Contains all interfaces, sorted by namespace.
  • traits.md: Contains all traits, sorted by namespace.
  • constants.md: Contains all global constants, sorted by namespace.
  • functions.md: Contains all global functions, sorted by namespace.

Demo

Check a demo of documentation generated with this template in https://phpdoc-vuepress.netlify.app/demo

Explore sources of nelson6e65/phpdoc-vuepress to use configuration files as guide.

A real project API generated using this template: nelson6e65/php_nml.

Requirements

This template is designed for phpDocumentor 2 and VuePress 1. Read more about dependencies in the Documentation.

Note: phpDocumentor 2 is able to generate documentation of code written on maybe any version of PHP < 8, but should be run on PHP 7.2. You can configure a CI like Travis CI, Netlify of Github Actions to generate the documentation on PHP 7.2 for your code if not using it on your local environment. Compatibility with phpDocumentor 3 is in progress 🚧 to support new features it offers.

Installation

Install nelson6e65/phpdoc-vuepress with composer:

composer require --dev nelson6e65/phpdoc-vuepress

Note for pre-releases: You may need to set the composer option minimum-stability to 'dev' or 'beta' in order to be able to install pre-releases.

Usage

Run phpDocumentor and set template as vendor/nelson6e65/phpdoc-vuepress/data/templates/vuepress:

phpdoc -d="src/" -t="docs/api/" --template="vendor/nelson6e65/phpdoc-vuepress/data/templates/vuepress"

More information about the available arguments can be found at running phpDocumentor.

Configuration

See the Configuration section in the documentation for setup examples.

Further reading

Check the documentation for more information https://nelson6e65.github.io/phpdoc-vuepress/.

Contributing

Check out the CONTRIBUTING.md file for details about contributing.

License

License

Copyright (c) 2018-2023 Nelson Martell

Read the LICENSE file for details.

Note: This template is based on Markdown template created by @cvuorinen: cvuorinen/phpdoc-markdown-public.

统计信息

  • 总下载量: 4.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 23
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 3
  • Forks: 1
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固