composer uninstall package code example
Example 1: composer uninstall
composer remove vendor/package
Example 2: how uninstall the laravel
composer global remove laravel/installer
Example 3: composer remove packages
composer remove vendor/package
Example 4: how uninstall composer
Delete the file composer.phar.
Delete the Cache Folder:
Linux: /home/<user>/.composer
Windows: C:\Users\<username>\AppData\Roaming\Composer
Example 5: remove composer package
Syntax: composer remove <package>
Example: composer remove laravel/tinker