Let me show you the tool to help you with refactoring the code by specific rules.
- Rector Homepage: https://getrector.com/
- Rector Laravel package: https://github.com/driftingly/rector-laravel
- [Video] Why I Sometimes Use query() Method? https://www.youtube.com/watch?v=yviVaX7-wT4
- [Course] Larastan: Catch Bugs with Static Analysis https://laraveldaily.com/course/larastan?mtm_campaign=youtube-rector-larastan
- [Course] Testing in Laravel For Beginners https://laraveldaily.com/course/testing-laravel?mtm_campaign=youtube-rector-testing
Support the channel by checking out my products:
- My Laravel courses: https://laraveldaily.com/courses
- Filament examples: https://filamentexamples.com
- Livewire Kit Components: https://livewirekit.com
Other places to follow:
- My weekly Laravel newsletter: https://us11.campaign-archive.com/home/?u=a459401212599a54203d036ee&id=91c1337873
- My personal Twitter: https://twitter.com/povilaskorop