Seems you forgot to run composer install
Your packages isn't in git. Instead you just have composer.json to tell your computer what to install
Running npm install as well might also be a good idea if you plan on using webpack and mix
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys , I have some issues working with laravel and git. I have an accesible cloud server where I would like to serve mi laravel app. I want to deploy tha app localy and update every change. This is what i did. In the remote server: composer create-project --prefer-dist laravel/laravel pmmc cd pmmc git init git add all git commit -m "first commit"
In my local server I did: git clone ssh://remote/gitrepopath/pmmc cd pmmc. php artisan serve (I got:)
[root@localhost pmmc]# php artisan serve PHP Warning: require(/var/www/html/pmmc/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/pmmc/artisan on line 18 PHP Fatal error: require(): Failed opening required '/var/www/html/pmmc/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/pmmc/artisan on line 18
What is missing ? it seems I have same folder and content in my remote and my local ... why cant execute php artisan serve? Thanks! Regards.
Please or to participate in this conversation.