Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GregorSams's avatar

Copy vendor folder via ftp

I have created a laravel 7 application and copied the folder via ftp to the shared host for testing.

After configuring all database details, I try to open my application, however I get:


Warning: require(/usr/www/users/test_project/vendor/composer/../infyomlabs/laravel-generator/src/helpers.php): failed to open stream: No such file or directory in /usr/www/users/test_project/vendor/composer/autoload_real.php on line 69

Fatal error: require(): Failed opening required '/usr/www/users/test_project/vendor/composer/../infyomlabs/laravel-generator/src/helpers.php' (include_path='.:/usr/local/lib/php/') in /usr/www/users/test_project/vendor/composer/autoload_real.php on line 69

I was guessing that there might be a problem with my composer.lock file. However, I do not yet have ssh access to my shared hosting.

Any suggestions what I am doing wrong?

0 likes
1 reply
Braunson's avatar

Looks like your composer lock file is referencing a package that is not on the FTP server.. specifically infyomlabs/laravel-generator.

Did you copy your vendor folder over to the server?

Please or to participate in this conversation.