What is the correct way to remove a package from Laravel using composer? So far I\'ve tried:
composer.json (in "requir
There are quite a few steps here:
{ "require": { "twig/twig": "^3.0" } }
I wish to remove twig 3.0
Now open cmd and run composer remove vendor/your_package_name as composer remove twig/twig this will remove the package.
As a final step run composer update this will surely give you a massage of nothing to install or update but this is important in case your packages have inter-dependencies.