Skip to content

Commit 4f57d07

Browse files
committed
Rename admin-check command for clarity
Updated the artisan command from `command:isAdmin` to `user:who-is-admin` to improve readability and better match naming conventions. Adjusted README documentation and command signature accordingly.
1 parent f2820bf commit 4f57d07

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ You can use this Blade directive
9191
## Who is an admin?
9292
You can enter an artisan command to see how is an admin.
9393
```bash
94-
php artisan command:isAdmin
94+
php artisan user:who-is-admin
9595
```
9696

9797
## Uninstall

src/Console/Commands/IsAdminList.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
use Illuminate\Support\Facades\Schema;
88

99
class IsAdminList extends Command{
10+
1011
/**
1112
* The name and signature of the console command.
1213
*
1314
* @var string
1415
*/
15-
protected $signature = 'command:isAdmin';
16+
protected $signature = 'user:who-is-admin';
1617

1718
/**
1819
* The console command description.

0 commit comments

Comments
 (0)