Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Smart and Readable Documentation for your PHP project

License

NotificationsYou must be signed in to change notification settings

volker-schukai/ApiGen

 
 

Repository files navigation

Build Status

Just look atCakePHP Framework orDoctrine ORM API.

Requirements

  • PHP 7.0

Install

1. Using Composer (preferred method)

In your project's root folder:

composer require --dev apigen/apigen

Or if you want it globally:

composer global require --dev apigen/apigen

2. As a PHAR

In your project's root folder:

curl -L -O https://github.com/ApiGen/ApiGen.github.io/raw/master/apigen.phar

(or just download ithere).

For global installation, just move the downloadedapigen.phar to your path.

Usage

NOTE: The above examples assume you have ApiGen installed in your path. You might need to change theapigen command tovendor/bin/apigen if installed locally through Composer orphp apigen.pharif using the PHAR version.

Run ApiGen with source and destination options:

apigen generate -s ./src -d ./docs

To omit cli options just createapigen.yaml orapigen.neon file in your project's root folder:

source:    -./srcdestination:./docs

For all available options, along with descriptions and default values, just run:

apigen generate --help

NOTE: In config files, options are camelCased (i.e.accessLevel for--access-level).

Refer to thewiki for all supported annotations.

Testing

$ phpunit

Get Support!

  • #apigen on irc.freenode.net - Come chat with us, we have cake.

  • GitHub Issues - Got issues? Please tell us!

  • Roadmaps - Want to contribute? Get involved!

Contributing

Please refer toCONTRIBUTING for details.

About

Smart and Readable Documentation for your PHP project

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP99.9%
  • Other0.1%

[8]ページ先頭

©2009-2025 Movatter.jp