Laravel Tips and Tricks

Composer

Uninstall a Package

Running the following command will remove the package and update composer.json and composer.lock. You will need to manually remove references to that package within your app.

composer remove vendor/package
Followed by composer update to remove vendor/package folder from vendor