Remove Composer Package


Removing an installed Composer package from your PHP or Laravel project.

Let's consider you want to remove Livewire from your Laravel appliation

composer remove livewire/livewire

This command uninstalls the specified package from your project and updates the composer.json and composer.lock files.

You Might Also Like

How to Automatically Add User Info to Logs

**Log::withContext** in Laravel allows you to add extra information (like user details or other rele...

Modify Response with Middleware

Modify or enhance responses using middleware, such as adding headers, manipulating content, or handl...