PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 22, 2022

[FIXED] Which files updated after composer update

 January 22, 2022     composer-php, laravel, php     No comments   

Issue

I have added a new package to my project via composer. Now the project is on a shared hosting. After uploading only the package from Vendor folder, The project not working.

What are the other files should I upload to my hosting ?


Solution

If you're using the composer autoloader then you should also update the vendor/composer folder and the vendor/autoload.php file.

The composer.lock file will also have changed but this shouldn't affect your application unless you're using composer on the server.



Answered By - avy
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing