You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.after edit and customize the action config we must create CRUD component and it's EasyPanel magic 😎.
96
+
97
+

98
+
99
+
Done, We created a panel with user manager option in 3 steps :)
100
+
77
101
#### Create/Delete admin
78
102
79
103
There are 2 commands in EasyPanel which uses UserProvider class to set a user as an admin or remove it.
@@ -102,8 +126,8 @@ php artisan panel:remove 1
102
126
103
127
- What is `show` key in every action in config file ? It specifies what's column should be showed in CRUD list.
104
128
For example you want to show only title in your articles list, you can just pass the `title` to the `show` key in config file.
105
-
106
-
-`extra_values` : Imagine you want pass a default data when you want to create an article or anything, and you want to pass `user_id` in you create method, you can set `user_id` in your `extra_values` key (If you want to write some code, place codes between " or ' )
129
+
-`actions` : every CRUD you want to have. If you want to disable a crud in panel just remove it from `actions` key in config file.
130
+
-`extra_values`in cruds' config : Imagine you want pass a default data when you want to create an article or anything, and you want to pass `user_id` in you create method, you can set `user_id` in your `extra_values` key (If you want to write some code, place codes between " or ' )
0 commit comments