composer is used to manage the dependent libraries of PHP projects. Before execution, your project only contains your code. You use the laravel framework, but the code of the framework is incomplete, so an error is reported. If you execute composer update, it will be based on The configuration of composer.json updates all dependencies (download the libraries used in the project), and the dependencies are all satisfied, so it is OK.
composer is used to manage the dependent libraries of PHP projects. Before execution, your project only contains your code. You use the laravel framework, but the code of the framework is incomplete, so an error is reported. If you execute
composer update
, it will be based on The configuration of composer.json updates all dependencies (download the libraries used in the project), and the dependencies are all satisfied, so it is OK.