How to remove a package from Laravel using composer?

前端 未结 16 1969
[愿得一人]
[愿得一人] 2020-11-28 17:10

What is the correct way to remove a package from Laravel using composer? So far I\'ve tried:

  1. Remove declaration from composer.json (in "requir
16条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 18:03

    You can remove any package by typing following command in terminal, and just remove the providers and alias you provided at the time of installing the package and update the composer

    composer remove 
    composer update
    

提交回复
热议问题