Skip to content

Commit dd1da75

Browse files
committed
update readme.md
1 parent 8028d5d commit dd1da75

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ A flexible and beautiful admin panel based on Livewire with lots of feature.
1717
- A small and beautiful TODO (You can disable it in your config)
1818
- Create a nice and responsive view based on your data in config file for every CRUDs
1919
- Custom validation based on config file
20+
- Ajax search with [Livewire](https://github.com/livewire/livewire) in every column you want
2021

2122
# How to install:
2223

@@ -26,16 +27,15 @@ composer require rezaamini-ir/laravel-easypanel
2627
```
2728
Next you should publish config, migration and views just with one command :
2829
```bash
29-
php artisan install:admin
30+
php artisan panel:install
3031
```
32+
**Congratulations! You have installed the package.**
3133

32-
If You need to add TODO feature in your project you should run this command out to create todo table:
34+
If You need to add TODO feature in your project you should run this command to create todo table:
3335
```bash
3436
php artisan migrate
3537
```
36-
and you don't want this option please set `todo` key in your config to `false`
37-
38-
Congratulations. now You have installed the package.
38+
and you set the `todo` key in your config to `true`
3939

4040
## Configurations:
4141

@@ -46,11 +46,11 @@ Imagine you want to create a CRUD action for a model, You can edit `actions` key
4646

4747
To create CRUDs action for all keys you must run this command :
4848
```bash
49-
php artisan crud:all
49+
php artisan panel:crud
5050
```
5151
Or if you want to run command for just one key you can pass the key.
5252
```bash
53-
php artisan crud:all article
53+
php artisan panel:crud article
5454
```
5555

5656
There are some important notes about actions in your config file :
@@ -69,13 +69,13 @@ There are 2 commands in EasyPanel which uses UserProvider class to set a user as
6969
To set a user as an admin You can use this command :
7070

7171
```
72-
php artisan make:admin 1
72+
php artisan panel:add 1
7373
```
7474

7575
And to remove a user You can user this command :
7676

7777
```
78-
php artisan delete:admin 1
78+
php artisan panel:remove 1
7979
```
8080

8181
**1 is `user.id` here**
@@ -104,5 +104,6 @@ If you feel you can improve our package You are free to pull request & submit is
104104
- [ ] RTL Style
105105
- [ ] Translation
106106
- [ ] Separate CRUDs config
107+
- [x] Make Command lines readable
107108
- [ ] More input types & editors
108109
- [ ] Add some unit tests

0 commit comments

Comments
 (0)