Disable Module
-
If I want to disable package module 'Velocity as an example'. Removing its providers from app/config/app.php and app/config/concord.php Is that a right way or any update will remove my changes? If my solution not the best which one is?
Thanks! -
Remove from composer.json file also and then check for compatibility also like if their methods use somewhere then you need to check that also.
This will impact your updates also.
-
@devansh-webkul . It may cause issues or I will lose the module updates?
-
Yes, it will cause an issue, that's why I told you to have the compatibility at your end. Because you are removing the default things.
Suppose if other modules are using some methods of Velocity package then you need to take care of this and also update that method with your new modules.