What is the most effective and efficient method to undo the package I just installed and published with composer??
like
composer require some-bundle/for-laravel and PHP artisan vendor:publish
it's very very uncomfortable for backing up a project every day before installing the bundle, and deleting a whole project if we found out this bundle doesn't suit me.
@obink You can use composer remove some-bundle/for-laravel to remove the package but you'll have to delete any published assets manually.
TIP: if you use Git, always test packages in a new branch. If you like it, you can merge it in, if not you can delete the branch - you won't then have any files left to delete manually.