When I run php artisan serve on my terminal to start the server. I find the error below
[PHP Warning: require(C:\xampp\htdocs\untyme/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\untyme\artisan on line 18
Warning: require(C:\xampp\htdocs\untyme/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\untyme\artisan on line 18
PHP Fatal error: require(): Failed opening required 'C:\xampp\htdocs\untyme/vendor/autoload.php' (include_path='\xampp\php\PEAR') in C:\xampp\htdocs\untyme\artisan on line 18
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\untyme/vendor/autoload.php' (include_path='\xampp\php\PEAR') in C:\xampp\htdocs\untyme\artisan on line 18]
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
clear-compiled Remove the compiled class file
down Put the application into maintenance mode
env Display the current framework environment
help Displays help for a command
inspire Display an inspiring quote
list Lists commands
//////MORE
After re installing composer I created a new laravel project and this time php artisan do result in lists of command and server successfully initiated while I run the command