Download the PHP package deathkel/apitest without Composer
On this page you can find all versions of the php package deathkel/apitest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download deathkel/apitest
More information about deathkel/apitest
Files in deathkel/apitest
Download deathkel/apitest
More information about deathkel/apitest
Files in deathkel/apitest
Vendor deathkel
Package apitest
Short Description Simple API TEST tool for Laravel REST
License MIT
Homepage https://github.com/deatkel/apitest
Package apitest
Short Description Simple API TEST tool for Laravel REST
License MIT
Homepage https://github.com/deatkel/apitest
Please rate this library. Is it a good library?
Informations about the package apitest
APITEST
轻量级laravel REST接口测试工具
用于查看和测试后端REST接口
版本要求
laravel >= 5.1,php > 7
安装
使用
请到注册服务提供者到Laravel服务提供者列表中。 方法1: 在config/app.php配置文件中,key为'providers'的数组中添加服务提供者
运行 'php artisan vendor:publish'将视图文件和静态文件发布到你们的项目中,请确保文件夹resource/views/api和public/api文件夹为空。 否则请自行复制使用本项目frotend文件中的blade和静态文件
Route配置示例
请配置在debug模式开启下的路由,不要再生产环境中使用
控制器示例
默认加载所有控制器,你可以使用setConfig()方法来手动设置要加载的控制器,
界面示例
注释说明
@apiTest : apiTest功能标识
- 添加了该参数才能使用该工具的其他功能。否则注释只能以文本格式展示(可用于兼容老的注释)
@param {参数格式} {参数} {简单说明} : 查询参数
- 参数格式:自定义参数的格式名称。如(int|string|可选)等等
- 参数名称:查询参数的名称。如name,title等等
- 简单说明:随意写点吧
注意用一个
空格分割
@{任意名称} : 任意注释
- 如
authorversion...
注意名称和说明之间用一个
空格分割写法示例
License
The MIT License (MIT). Please see License File for more information.
All versions of apitest with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package deathkel/apitest contains the following files
Loading the files please wait ...