Composer revert packages
If you used composer update
your composer.lock
has changed to. So I make a little trick. Revert composer.lock
by git
and then run composer install
. It'll remove newest packages and download the previous.
composer install
, if you have kept your composer.lock file, will revert all your vendors to the previously installed state.