update path.php and public/index.php to autoload composer vendor dir