Implementing Installation and Uninstallation Functions

Muhammad Umer Farooq Posted in Component Development 11 months ago

Is there a method for creating a function that only executes during the installation of a component, and another function that executes during uninstallation, similar to the functionality available in WordPress?

Replies
pk Muhammad Umer Farooq Replied 11 months ago

Thank

Indonesian Arsalan Shah Replied 11 months ago

Create a file called enable.php and delete.php in your component root directory. example components/Name/enable.php