r/PHP • • May 18 '24

Discussion Learning PHP as a beginner

I have never programmed before. However, I have a very serious interest in learning PHP and SQL.

I am open to any suggestions on where to start and what to focus on. Courses, tutorials, websites, etc.

If you were starting fresh today, with no knowledge, where would you start? What sort of “roadmap” would you follow?

78 Upvotes

75 comments sorted by

View all comments

Show parent comment

5

u/jaggafoxy May 18 '24

I'd argue against starting with laracasts in my opinion because it teaches laravel as the language and it's nuances over those of php, which is very opinionated and can easily lead to getting a bit too entrenched (also it promotes the orm over sql which is something they explicitly want to learn as part of it)

Coming into the laracasts after a basic bit of php and sql understanding, I'm all for that, as you'd then be in a position to learn how the framework uses the language to make life easier, and you'd be in a better position to get the framework to do what you need it to do

2

u/TopBantsman May 18 '24

I think all of those concerns are minor grievances that can easily be overcome with a little bit of further exploration once they've done something practical. The obsession with "no you must learn pure PHP and MySQL" first just increases the risk of new starters getting stuck in tutorial hell and feeling like they're not progressing.

1

u/SowertoXxx May 19 '24

I'm doing PHP for two weeks, and after that I will move to Laravel. I'm coming for Javascript