Implementing Installation and Uninstallation Functions

Muhammad Umer Farooq Posted in Component Development 4 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?

pk Muhammad Umer Farooq Replied 4 months ago


Indonesian Arsalan Shah Replied 4 months ago

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