Download the PHP package psr4/reflection-api-doc without Composer

On this page you can find all versions of the php package psr4/reflection-api-doc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package reflection-api-doc

reflection_api_doc

将会是一个基于 thinkphp5.1 的PHP自动生成api文档的库

  1. 安装:

composer require "psr4/reflection-api-doc"

  1. 使用方法

php think reflection:config

会在 application/config 目录下创建文件名为 documents.php 的配置文件。

重点: class 为将要生成文档的类(带命名空间)

  1. 示例:
注释参数 含义 说明
@title 标题 文档生成的类方法标题
@desc 描述 格式如下,地址、请求方式、备注等
@param 接收参数 格式如下,type ?-?name default desc
@return 返回参数 格式如下,type ?-?name desc
@route 注解路由 tp5.1的注解路由

类的具体实现方法:

编辑好配置文件之后 直接打开浏览器访问 http://localhost/api/documents 即可看到文档页。

  1. 预览

长相一般的苹果绿:

长相也一般的葡萄紫:

  1. 支持

如果有使用自动生成文档的需求或者之类的,欢迎加入 QQ群:452209691 共同探讨。


All versions of reflection-api-doc with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
topthink/think-helper Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package psr4/reflection-api-doc contains the following files

Loading the files please wait ....