Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating symfony2 libs?

I have tested symfony and started with 2.0 now the new 2.0.1 version it out and I want to update. Is there an easy way to update the sources?

In Zend it is basically replacing the Zend folder with new libs. Maybe I can use an script like php bin/vendors install ?

like image 647
lony Avatar asked Sep 08 '11 20:09

lony


People also ask

Is Symfony outdated?

Symfony is regularly updated to keep it up-to-date with web developers' needs.

What is the difference between Symfony 4 and 5?

The differences are mainly two: On the one hand, Symfony 4.4 becomes the LTS (long term support) version thus replacing the old version 3.4. On the other hand, Symfony 5 is practically the same as Symfony 4.4 unless it does not have the code that has been marked as deprecated in version 4.4.


1 Answers

Per the instructions on this post:

If you already have a project based on the Symfony Standard Edition 2.0.0, you can easily upgrade to 2.0.1 by getting the new deps and deps.lock files.

Then, run the vendors script:

$ ./bin/vendors install

And don't forget to clear your cache:

$ php ./app/console cache:clear

Here are the files:

  • deps
  • deps.lock
like image 80
Steven Mercatante Avatar answered Sep 29 '22 15:09

Steven Mercatante