Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T02:52:55.000Z (over 3 years ago)
- Last Synced: 2024-11-02T18:41:21.477Z (about 1 month ago)
- Topics: api, laravel, laravel-admin, tester
- Language: Blade
- Homepage: http://laravel-admin.org/
- Size: 23.4 KB
- Stars: 55
- Watchers: 4
- 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
============================[![StyleCI](https://styleci.io/repos/99563385/shield?branch=master)](https://styleci.io/repos/99563385)
[![Packagist](https://img.shields.io/packagist/l/laravel-admin-ext/api-tester.svg?maxAge=2592000)](https://packagist.org/packages/laravel-admin-ext/api-tester)
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-admin-ext/api-tester.svg?style=flat-square)](https://packagist.org/packages/laravel-admin-ext/api-tester)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square)]()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
![wx20170809-164424](https://user-images.githubusercontent.com/1479100/29112946-1e32971c-7d22-11e7-8cc0-5b7ad25d084e.png)
## 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).