Skip to content

Commit 4a78595

Browse files
authored
Merge pull request #30 from aledc7/aledc7-patch-1
Aledc7 patch 1
2 parents 0622abe + 0113a10 commit 4a78595

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,22 @@ php artisan make:crud {table_name} --route={route_name}
114114
![Form](https://i.imgur.com/poRiZRO.png)
115115

116116

117+
## Personalize
118+
You have the possibility of 100% customizing the generated views, this is achieved in the following way:
119+
120+
- Run this command `php artisan vendor:publish --tag=crud` this will create the `crud.php` file in your config/ folder.
121+
- Update the variable `stub_path`, to your own stub folder like `'stub_path' => resource_path('stubs/'),`
122+
- Copy the stubs files from package
123+
```
124+
php artisan vendor:publish --tag=stubs-crud
125+
```
126+
- Update your changes in your stub files. (you can delete extra files/folders if you are not using them).
127+
- Run the command for crud generation and you'll get the updated views.
128+
129+
130+
131+
132+
117133
## Author
118134

119135
M Awais // [Email Me](mailto:[email protected])

0 commit comments

Comments
 (0)