We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a6e2f commit 7435138Copy full SHA for 7435138
README.md
@@ -24,6 +24,30 @@ $ php artisan admin:import api-tester
24
25
Finally open `http://localhost/admin/api-tester`.
26
27
+## Configuration
28
+
29
+`api-tester` supports 3 configuration, open `config/admin.php` find `extensions`:
30
+```php
31
32
+ 'extensions' => [
33
34
+ 'api-tester' => [
35
36
+ // route prefix for APIs
37
+ 'prefix' => 'api',
38
39
+ // auth guard for api
40
+ 'guard' => 'api',
41
42
+ // If you are not using the default user model as the authentication model, set it up
43
+ 'user_retriever' => function ($id) {
44
+ return \App\User::find($id);
45
+ },
46
+ ]
47
48
49
+```
50
51
License
52
------------
53
Licensed under [The MIT License (MIT)](LICENSE).
0 commit comments