sanhuang / phalcon-api-reference

Home Page:http://phalcon.agent-j.ru/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phalcon PHP API reference application

This application was developed using the Phalcon.

Backend part is console app which parse the Phalcon C-sources to generate API docs.

Demo

###Restrictions

  • generator uses PHP ReflectionClass, so its possible to generate API only for currently installed Phalcon version
  • there are no default values for methods arguments
  • there are no properties descriptions 'cause they are absent in the sources

###Roadmap

  • host the sources on GitHub done
  • improve the parser to get rid of ReflectionClass
  • some more improve parser to get default values for methods arguments
  • multilingual support
  • search for methods and properties

###CLI usage

> cd /path/to/app
> php console.php genapi

or with params

> php console.php genapi -g -o -b master -u your-login:your-pass

####Available CLI options

--help        -h   Help
--github      -g   Should use GitHub, otherwise use filesystem directory
--branch      -b   GitHub branch. It will use current Phalcon version if not set
--user        -u   GitHub user name or e-mail and password <user>:<pass>
--overwrite   -o   Should be set to overwrite existing data
--dir         -d   Path to filesystem directory or GitHub path to source files. This option overrides config value

About

http://phalcon.agent-j.ru/


Languages

Language:JavaScript 54.2%Language:PHP 21.3%Language:CSS 12.8%Language:HTML 9.2%Language:Volt 2.0%Language:Shell 0.5%Language:ApacheConf 0.1%