EngineAPI is the PHP Framework developed by the Library Systems Dept of West Virginia University
EngineAPI uses phpDocs to provide developer documentation. The documentation isn't included in version control, and is up to the developer to generate it on their local machine. This does require a few components be installed locally, but is not too painful.
You can view phpDocumentor's install docs here or follow the following steps.
Install phpDocumentor via PEAR: (Recommended)
pear channel-discover pear.phpdoc.org
pear install phpdoc/phpDocumentor-alpha
Install phpDocumentor manually:
- You need to decide where you want to to install phpDocumentor.
We will refer to this as<PHPDOC_PATH>
- Install phpDocumentor dependencies: XSL and Graphviz
- Linux:
yum install graphviz-php php-intl
- Windows: TODO
- MAC OSX: TODO
- Linux:
- Move into the install directory.
cd <PHPDOC_PATH>
- Download the the phpDocumentor install script.
wget https://raw.github.com/phpDocumentor/phpDocumentor2/develop/installer.php
- Run the install script.
php installer.php
- (Optional) Add phpDocumentor to your PATH
- Linux or MAC OSX:
Symlink<PHPDOC_PATH>/bin/phpdoc.php
into your bin folder (usually /usr/bin) namedphpdoc
. - Windows:
Add<PHPDOC_PATH>/bin
to your PATH
- Linux or MAC OSX:
Navigate to the root directory of EngineAPI and inkoke phpdoc
. That's it! (It couldn't be any simpler than that!)
Now, an HTML website will be generated located at engineAPI/engine/engineAPI/latest/documentation/developer
which is your developer docs for EngineAPI!