composer uninstall a package code example
Example 1: composer uninstall
composer remove vendor/package
Example 2: composer remove packages
composer remove vendor/package
Example 3: remove composer package
Syntax: composer remove <package>
Example: composer remove laravel/tinker