11
Tried building my first CRUD app with raw PHP vs Laravel and the difference was night and day
Last weekend I decided to make a simple to-do list app. Started with raw PHP and after 3 hours I had like 30 files scattered everywhere and my login system was still broken. Switched to Laravel and got the whole thing running with user auth in about 45 minutes. The routing and built in stuff just saves so much headache. Has anyone else had that moment where a framework just clicked for them?
2 comments
Log in to join the discussion
Log In2 Comments
grant.richard20d ago
Oh yeah, nothing says "fun weekend project" like manually hashing passwords and writing your own CSRF middleware from scratch (said no one ever). Laravel really makes you wonder why you ever bothered with the DIY approach.
2
jana_henderson5220d agoMost Upvoted
Last summer I spent two days debugging a login system I built from scratch because I forgot to add a salt to my hashing function. Turned out every user had the same hash for the same password and I didn't catch it until my buddy tried logging into my account by accident. After that mess I switched to Laravel and haven't looked back. The built in auth scaffolding saved me so much headache it's not even funny. When did you first decide to give up on the DIY security stuff and just use a framework?
2