1 into directory hooks
2 git clone https://github.com/larapack/test-hook.git
3 then rename directory test-hook to local-test-hook
4 the same for conposer.json, change "name":"test-hook" to "name":"local-test-hook"
5 add new files (migrations, config, views, ....)
6 php artisan hook:install local-test-hook
Description:
If I wanted to modify an existing hook locally, what would be the right way?
Steps To Reproduce:
For example if want modify test-hook
1 into directory hooks 2 git clone https://github.com/larapack/test-hook.git 3 then rename directory test-hook to local-test-hook 4 the same for conposer.json, change "name":"test-hook" to "name":"local-test-hook" 5 add new files (migrations, config, views, ....) 6 php artisan hook:install local-test-hook
it would be correct ???
thank you.