Skip to content

Commit e44eb97

Browse files
author
songzou
committed
bugfix
1 parent ca9b072 commit e44eb97

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

README.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ laravel-admin-ext/api-tester
33

44
Inspired 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

src/ApiTesterServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ public function boot()
1616
'api-tester'
1717
);
1818
}
19+
20+
ApiTester::boot();
1921
}
2022
}

0 commit comments

Comments
 (0)