Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-admin-org/api-tester
https://github.com/open-admin-org/api-tester
Last synced: 27 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-01T09:33:21.000Z (over 2 years ago)
- Last Synced: 2024-09-29T06:06:25.253Z (about 1 month ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 4
- 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
============================[![StyleCI](https://styleci.io/repos/457879925/shield?branch=main)](https://styleci.io/repos/99563385)
[![Packagist](https://img.shields.io/github/license/open-admin-org/api-tester.svg?maxAge=2592000&style=flat-square&color=brightgreen)](https://packagist.org/packages/open-admin-ext/api-tester)
[![Total Downloads](https://img.shields.io/packagist/dt/open-admin-ext/api-tester.svg?style=flat-square&color=brightgreen)](https://packagist.org/packages/open-admin-admin-ext/api-tester)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square&color=brightgreen)]()[Documentation](http://open-admin.org/docs/en/extension-api-tester)
## Screenshot
![extention-api-tester](https://user-images.githubusercontent.com/86517067/153463990-bd59e3ac-bc88-4858-adac-2714cc08e705.png)
## 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).