DEV Community

Discussion on: I regret using PHP

ozzythegiant profile image
Oziel Perez • Edited on

Agreeing with a lot of you here that this seems like clickbait for a custom PDO library. Laravel is fantastic for large projects but it certainly isn't the best option for everything (I'd recommend Slim if you want a more compact framework and to Bring Your Own Libraries). Query builders in my opinion are the way to go, so if you use ORMs, try to use direct query building rather than searching for data and then updating it. Less queries to run. Also, are you not indexing your databases? That's a must do if working with a lot of data! Lastly, also agree to using PHP 8 or at least 7.4. Processing times are much faster on these versions especially with JIT