Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.



Get Started Now!

How to Uninstall/Remove Package in Laravel?

Laravel

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x