Skip to content

Commit ff6667f

Browse files
authored
add docs for page command
1 parent 631a2f2 commit ff6667f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ php artisan backpack:crud {Entity_name}
4242
# our CrudTrait to the model if it already exists.
4343
```
4444

45+
- **Generate all files for a custom admin panel page:**
46+
47+
``` bash
48+
php artisan backpack:page {PageName}
49+
50+
# You can use either PascalCase, snake_case or kebab-case.
51+
# This will generate you a Controller, a view and a route.
52+
```
53+
4554
- Generate a new Backpack\CRUD file:
4655
``` bash
4756
php artisan backpack:crud-controller {Entity_name}

0 commit comments

Comments
 (0)