Download the PHP package mouyong/laravel-doc without Composer

On this page you can find all versions of the php package mouyong/laravel-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 laravel-doc

laravel-doc

用于生成 swagger 2.0 文档的扩展包。可根据配置自动同步 yapi 文档。可开启 apifox 文档定时同步功能

Sponsor me

安装

使用

1. 配置文件修改

2. 单元测试与文档生成

文档生成目录:storage/app/yapi/

使用示例:

routes/tenant.php

tests/TestCase.php

app/Models/Patient.php

tests/Feature/Tenant/OemTest.php

tests/Feature/Tenant/PatientTest.php

3. 同步文档

生成文档:./vendor/bin/phpunit tests/Yapi/YapiTest.php

  1. 文档

    • 可根据需要删除 storage/app/yapi 后重新生成文档
    • 可通过 $this->mapDescXxxModel 中的常量转为文档中的释义
    • 文档会根据内容 md5 进行版本化。避免重复生成与上传
    • 可根据需要,结合自动化流程完成接口文档的自动化构建
    • 接口无响应数据时,响应数据采用 YapiDTOresponse.trans 生成
  2. yapi

    • 运行生成文档后,会自动同步到 yapi 平台
    • 可在配置文件中关闭同步 yapi 平台
  3. apifox
    • apifox 项目中可开启定时同步,格式为 openapi/swagger
    • openapi 版本为 2.0yapi 平台文档导入暂不支持 openapi 3.0

问答

欢迎提交 issuePR

如有使用疑问,可邮件联系我

:heart: 赞助

Sponsor me

如果你喜欢我的项目并想支持它,点击这里 :heart:

开源协议

MIT


All versions of laravel-doc with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
cblink/yapi-doc Version ^1.2|dev-master
zhenmu/support Version ^1.0|dev-master
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 mouyong/laravel-doc contains the following files

Loading the files please wait ....