delete composer for laravel code example
Example 1: composer uninstall
composer remove vendor/package
Example 2: how uninstall the laravel
composer global remove laravel/installer
composer remove vendor/package
composer global remove laravel/installer