dedermus / api-tester
Api tester for open-admin
2.0.3
2024-12-28 10:57 UTC
Requires
- php: ^8.2
- dedermus/open-admin-core: ^v2.0
Requires (Dev)
- laravel/laravel: ~5.5
- phpunit/phpunit: ~6.0
README
Screenshot
Installation
$ composer require dedermus/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' => env('API_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); }, ] ]
Configuration
Add in to env file
API_PREFIX = v1
License
Licensed under The MIT License (MIT).