https://github.com/open-admin-org/api-tester
https://github.com/open-admin-org/api-tester
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/open-admin-org/api-tester
- Owner: open-admin-org
- License: mit
- Created: 2022-02-10T17:28:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-01T09:33:21.000Z (about 3 years ago)
- Last Synced: 2025-01-31T23:16:26.306Z (5 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
API tester for open-admin
============================[](https://styleci.io/repos/99563385)
[](https://packagist.org/packages/open-admin-ext/api-tester)
[](https://packagist.org/packages/open-admin-admin-ext/api-tester)
[]()[Documentation](http://open-admin.org/docs/en/extension-api-tester)
## Screenshot

## Installation
```
$ composer require open-admin-ext/api-tester$ 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).