zhan3333 / api-tester
Api tester for laravel and dingo api
v1.0.3
2017-11-27 07:58 UTC
Requires
- php: >=7.0.0
- dingo/api: 1.0.*@dev
- encore/laravel-admin: 1.5.*
- laravel/framework: 5.5.*
Requires (Dev)
- laravel/laravel: 5.*
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-14 20:41:25 UTC
README
Inspired by laravel-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
:
'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
* @Parameters({ * @Parameter("contract_file_id", description="文件id") * })
License
Licensed under The MIT License (MIT).