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

suityan98's avatar

Error during perform php artisan migrate

I try to migrate the laravel project to another host, I have done composer update, and have .env file done, however when i want to perform migration using php artisan migrate, the following error message prompt out...

do have any suggestion or solutions??

C:\xamppnew\htdocs\ssg_website>php artisan migrate PHP Warning: require(C:\xamppnew\htdocs\ssg_website\vendor\composer/../../src/Illuminate/Foundation/helpers.php): Failed to open stream: No such file or directory in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php on line 55

Warning: require(C:\xamppnew\htdocs\ssg_website\vendor\composer/../../src/Illuminate/Foundation/helpers.php): Failed to open stream: No such file or directory in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php on line 55 PHP Fatal error: Uncaught Error: Failed opening required 'C:\xamppnew\htdocs\ssg_website\vendor\composer/../../src/Illuminate/Foundation/helpers.php' (include_path='C:\xamppnew\php\PEAR') in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php:55 Stack trace: #0 C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php(38): composerRequire2e6ddbec33538feb089798c17e96a50d('f0906e6318348a7...', 'C:\xamppnew\htd...') #1 C:\xamppnew\htdocs\ssg_website\vendor\autoload.php(25): ComposerAutoloaderInit2e6ddbec33538feb089798c17e96a50d::getLoader() #2 C:\xamppnew\htdocs\ssg_website\bootstrap\autoload.php(17): require('C:\xamppnew\htd...') #3 C:\xamppnew\htdocs\ssg_website\artisan(16): require('C:\xamppnew\htd...') #4 {main} thrown in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php on line 55

Fatal error: Uncaught Error: Failed opening required 'C:\xamppnew\htdocs\ssg_website\vendor\composer/../../src/Illuminate/Foundation/helpers.php' (include_path='C:\xamppnew\php\PEAR') in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php:55 Stack trace: #0 C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php(38): composerRequire2e6ddbec33538feb089798c17e96a50d('f0906e6318348a7...', 'C:\xamppnew\htd...') #1 C:\xamppnew\htdocs\ssg_website\vendor\autoload.php(25): ComposerAutoloaderInit2e6ddbec33538feb089798c17e96a50d::getLoader() #2 C:\xamppnew\htdocs\ssg_website\bootstrap\autoload.php(17): require('C:\xamppnew\htd...') #3 C:\xamppnew\htdocs\ssg_website\artisan(16): require('C:\xamppnew\htd...') #4 {main} thrown in C:\xamppnew\htdocs\ssg_website\vendor\composer\autoload_real.php on line 55

0 likes
3 replies
suityan98's avatar

@Sinnbeck

the following message come out:

Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead. Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead. Generating autoload files 77 packages you are using are looking for funding. Use the composer fund command to find out more!

so should be no problem on install?

suityan98's avatar

The problem not fixed, anyone do have any suggestion/advice?

Please or to participate in this conversation.