Added code in install.php and updated composer.json