Skip to content

Commit 66ceb85

Browse files
authored
Update README.md
1 parent 23a6260 commit 66ceb85

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,24 @@ Therefor **PackageChangeLog** was made, to help developers keep their packages a
101101

102102
<br>
103103

104+
## Uninstall
105+
106+
- for whatever reason you decided to remove the package, make sure to remove all the package scripts under `composer.json` before uninstall
107+
108+
```json
109+
"scripts": {
110+
"post-install-cmd": [
111+
"@php artisan pcl:post-install"
112+
],
113+
"post-update-cmd": [
114+
"@php artisan pcl:post-update"
115+
],
116+
"pre-package-uninstall": [
117+
"@php artisan pcl:pre-uninstall"
118+
]
119+
}
120+
```
121+
104122
## Notes
105123

106124
- we don't use any parser for the log file, so whatever you write in the file will be displayed to the user as it is.

0 commit comments

Comments
 (0)