https://github.com/laravel-admin-extensions/api-tester
API tester for laravel-admin
https://github.com/laravel-admin-extensions/api-tester
api laravel laravel-admin tester
Last synced: 3 months ago
JSON representation
API tester for laravel-admin
- Host: GitHub
- URL: https://github.com/laravel-admin-extensions/api-tester
- Owner: laravel-admin-extensions
- License: mit
- Created: 2017-08-07T09:53:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T02:52:55.000Z (about 4 years ago)
- Last Synced: 2025-03-24T08:28:35.231Z (3 months ago)
- Topics: api, laravel, laravel-admin, tester
- Language: Blade
- Homepage: http://laravel-admin.org/
- Size: 23.4 KB
- Stars: 55
- Watchers: 3
- Forks: 38
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - api-tester - API 测试工具 (扩展包 / 工具类扩展包)
README
API tester for laravel-admin
============================[](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',// auth guard for api
'guard' => '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);
},
]
]```
License
------------
Licensed under [The MIT License (MIT)](LICENSE).