open-admin-ext / api-tester
Api tester for open-admin
Installs: 1 834
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: >=7.0.0
- open-admin-org/open-admin: ~1.0
Requires (Dev)
- laravel/laravel: ~5.5
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-11-29 06:47:43 UTC
README
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
:
'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).