Download the PHP package tiacx/laravel-apifox without Composer

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

Laravel-ApiFox

说明

功能:通过TestCase快速生成ApiFox文档

安装

配置

发布配置文件

配置请求中间件

修改 app/Http/Kernel.php 文件,增加 \Tiacx\ApiFox\Middleware\ApiFoxMiddleware::class 中间件配置

增加 .env 配置项

注:项目ID 及 访问令牌的获取方法请参考官方开放平台说明(https://apifox-openapi.apifox.cn/

使用

TestCase 方法处添加 @apifox.name@apifox.tags 标识,然后运行 TestCase 即可。

注:生成文档之后,可把 @apifox 相关注释删除掉。

注意事项

ApiFox开放平台只提供的数据导入接口,只有新增接口功能,没有更新或删除接口的功能。如果需要重新推送接口,要先手动删除ApiFox里的接口,再运行TestCase,再重新推送。


All versions of laravel-apifox with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
laravel/framework Version >=5.5.0
guzzlehttp/guzzle Version >=6.5.8
ext-json Version *
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 tiacx/laravel-apifox contains the following files

Loading the files please wait ...