Remove the package with
composer remove vendorname/packagename
you can check remove package from composer.json - docs
Or you can remove the package name from composer.json
file and run composer update
from within your project directory. I hope it helps.