1) Install IndentByFold Plugin for Notepad ++. How to Install Plugin – Go to Plugins -> Plugin Admin and search IndentByFold
2) Use IndentByFold plugin to format PHP in Notepad ++
Go to Plugins -> IndentByFold and then Reindent File
![](https://askiw.com/wp-content/uploads/2022/07/format-Notepad.webp)
1) Install IndentByFold Plugin for Notepad ++. How to Install Plugin – Go to Plugins -> Plugin Admin and search IndentByFold
2) Use IndentByFold plugin to format PHP in Notepad ++
Go to Plugins -> IndentByFold and then Reindent File