Skip to content
Y

Yii2 Apidoc

API documentation generator

by yiisoftFree

#3769in Developer Tools
0In stores

Description

yii2-apidoc is an API documentation generator for PHP projects, maintained by the Yii project. It has two commands. The api command builds c…

Highlights

  • Class API docs from phpDocumentor-style comments
  • Markdown guide rendering to HTML
  • Combined API and guide output
  • Selectable HTML templates, bootstrap by default
  • Command-line tool installed with Composer

Ratings & Reviews

No ratings yet

Be the first to rate Yii2 Apidoc.

People also visit

A

ApiGen

PHP 7.1 ready Smart and Simple Documentation for your PHP project

Utilities
Launch
D

DocFX

A documentation generation tool for API reference and Markdown files!

Developer Tools
Launch
P

Pdoc

API Documentation for Python Projects

Developer Tools
Launch
D

Doctum

A PHP API documentation generator

Utilities
Launch
J

Jsdoc To Markdown

Generate markdown documentation from jsdoc-annotated javascript

Utilities
Launch
J

Jsdoc

An API documentation generator for JavaScript

Developer Tools
Launch

Yii2 Apidoc FAQ

What is yii2-apidoc?

It is a command-line tool that generates API documentation for PHP classes and renders markdown guides into HTML pages.

Which PHP version does it need?

PHP 8.2 or newer. Install it with Composer.

How do I run it?

After install, run vendor/bin/apidoc api for class documentation or vendor/bin/apidoc guide for guide pages. Run apidoc help api or apidoc help guide to see the options.

Can I change the look of the output?

Yes. The bootstrap template is the default, and you can choose another template with the --template parameter.

What are the best Yii2 Apidoc alternatives?

Popular alternatives to Yii2 Apidoc include DocFX, Pdoc and Jsdoc. See all Yii2 Apidoc alternatives

Developer Stuff

Badges