https://github.com/zhan3333/api-tester
https://github.com/zhan3333/api-tester
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhan3333/api-tester
- Owner: zhan3333
- License: mit
- Fork: true (laravel-admin-extensions/api-tester)
- Created: 2017-11-27T03:59:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T08:00:32.000Z (over 8 years ago)
- Last Synced: 2024-11-18T10:55:18.729Z (over 1 year ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
API tester for laravel-admin and dingo api
============================
[](https://styleci.io/repos/99563385)
[](https://packagist.org/packages/laravel-admin-ext/api-tester)
[](https://packagist.org/packages/laravel-admin-ext/api-tester)
[]()
Inspired by [laravel-api-tester](https://github.com/asvae/laravel-api-tester).
[Documentation](http://laravel-admin.org/docs/#/en/extension-api-tester) | [中文文档](http://laravel-admin.org/docs/#/zh/extension-api-tester)
## Screenshot

## Installation
```
$ composer require laravel-admin-ext/api-tester -vvv
$ php artisan vendor:publish --tag=api-tester
```
Then last run flowing command to import menu and permission:
```
$ php artisan admin:import api-tester
```
Finally open `http://localhost/admin/api-tester`.
## Configuration
`api-tester` supports 3 configuration, open `config/admin.php` find `extensions`:
```php
'extensions' => [
'api-tester' => [
// route prefix for APIs
'prefix' => 'api',
// If you are not using the default user model as the authentication model, set it up
'user_retriever' => function ($id) {
return \App\User::find($id);
},
]
]
```
## Document use
use Dingo api doc: https://github.com/dingo/api/wiki/API-Blueprint-Documentation
```php
* @Parameters({
* @Parameter("contract_file_id", description="文件id")
* })
```
License
------------
Licensed under [The MIT License (MIT)](LICENSE).