File tree Expand file tree Collapse file tree 2 files changed +7
-20
lines changed Expand file tree Collapse file tree 2 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ laravel-admin-ext/api-tester
33
44Inspired by [ laravel-api-tester] ( https://github.com/asvae/laravel-api-tester ) .
55
6+ ## Screenshot
7+
8+ ![ wx20170809-164424] ( https://user-images.githubusercontent.com/1479100/29112946-1e32971c-7d22-11e7-8cc0-5b7ad25d084e.png )
9+
610## Installation
711
812```
@@ -12,26 +16,7 @@ $ php artisan vendor:publish --tag=api-tester
1216
1317```
1418
15- Open ` app/Providers/AppServiceProvider.php ` , and call the ` ApiTester::boot ` method within the ` boot ` method:
16-
17- ``` php
18- <?php
19-
20- namespace App\Providers;
21-
22- use Encore\Admin\ApiTester\ApiTester;
23- use Illuminate\Support\ServiceProvider;
24-
25- class AppServiceProvider extends ServiceProvider
26- {
27- public function boot()
28- {
29- ApiTester::boot();
30- }
31- }
32- ```
33-
34- At last run flowing command to import menu and permission:
19+ Then last run flowing command to import menu and permission:
3520
3621```
3722$ php artisan admin:import api-tester
Original file line number Diff line number Diff line change @@ -16,5 +16,7 @@ public function boot()
1616 'api-tester '
1717 );
1818 }
19+
20+ ApiTester::boot ();
1921 }
2022}
You can’t perform that action at this time.
0 commit comments