I would set up your test while you are refactoring to help you figure out your syntax / code structure. It suggest watching a few videos or a series about TDD (test driven development) - check out: Lets build a laravel app with TDD and also Lets build a forum with laravel
Mar 23, 2023
1
Level 1
Tips regarding improving the performance of a Laravel application
Hi,
I've been recently working on a Laravel project and it's 2 years old.
The code is extremely coupled, pages render super slow, excessive memory usage,massive database queries,no data integrity, no single test written..
Client is worried about the performance and I'm asked to do the necessary things..
What's the best roadmap to follow ?
I want to implement unit/feature tests but should I do it to the current legacy code or after refactoring?
I have to make sure nothing gets broken..
Thank you!
Please or to participate in this conversation.