How the rollback of the last seller is published in laravel

Hi I messed up my project by executing vendor

publish

here command

the last time I executed (I am using LARAVEL 5.4 )

php artisan vendor:publish --tag=laravel-notifications

      

I want rollback

to go to the previous state that was beforecommand

what I was trying to do: I wanted to customize reset password

email

template

Problem: Now I can't see my custom template forgot password

and reset password

. but default template

appears for both ( forgot password

and reset password

).

Question: please help get my previous state before running thiscommand

php artisan vendor:publish --tag=laravel-notifications

please help me in advance !!!!

please help me in advance !!!!

+3


source to share


2 answers


Worked ... Steps to remove package from Laravel:

  • Remove declaration from composer.json (in the "require" section)
  • Remove service provider from "app / config / app.php" (link in the "providers" array)
  • Remove all class aliases from "app / config / app.php"
  • Remove any package references from your code.
  • Run "update provider / composer package name". This will remove the package folder from the "vendor" folder and rebuild the autoload map layout.


it will remove the package folder from the Vendor folder

+3


source


Try the following: git clean -f -d

-d: for a directory;



-f: for strength;

This solved it for me.

0


source







All Articles