composer remove VenderName/PackageName – The remove command removes packages from the composer.json file from the current directory.
Syntax :- composer remove VenderName/PackageName

Syntax:- composer remome VenderName/PackageName1

VenderName/PackageName2

If you want to remove more than one package then you have to run this command.
Ex:- composer remove fzaninotto/faker

–dev: It remove packages form require-dev
This means, if it is in require-dev, then you have to remove it from there, then for this, you have to flag the dev.
Ex: composer remove fzaninotto/faker –dev

- Top 10 Customer Experience (CX) Platforms of 2026 (Reviewed by Experts) - March 24, 2026
- Top 10 Call Center Software Tools in 2026 (Reviewed by Experts) - March 24, 2026
- Global PR Points Calculators – Check Your Immigration Eligibility for Australia, Canada, Austria, Japan, New Zealand, and South Korea - March 14, 2026