PASSWORD RESET

Your destination for complete Tech news

How to remove a package from composer in Laravel?

380 0
< 1 min read

To remove a package from your Laravel application using Composer, you can use the remove command followed by the package name. For example, to remove the laravel/ui package from your Laravel application, you would run the following command:

composer remove laravel/ui

This will remove the package and any dependencies it has from your Laravel application.

You can also use the composer remove command to remove multiple packages at once by specifying the package names separated by a space. For example:

composer remove laravel/ui laravel/socialite

This will remove the laravel/ui and laravel/socialite packages from your Laravel application.

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.