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?

76 Upvotes

75 comments sorted by

View all comments

Show parent comment

1

u/WakeUpMrOppositeEast May 18 '24

I’d honestly go ahead and ask ChatGPT for some simple project ideas. That’s what I usually do after feeling kind of comfortable with the syntax of a new language. To get good at php it might also help to imagine a webapp with a purpose that might be interesting to you.

To get comfortable with the language I would recommend exercism. It also has a lot of volunteers that will review your code if you feel unsure about one of your solutions. The exercises there are granular enough to touch on a lot of PHPs features.

I would also recommend you to look into docker at some point. PHP and databases go hand in hand with docker. But again look into this after you feel comfortable, it might be a little overwhelming at the beginning. XAMPP/MAMP is more than enough to get your hands dirty in the beginning.

Good luck!

1

u/KingBrooooom May 18 '24

Perfect! I already have a web app in mind actually! So this sounds right up my alley. Time to dig into syntax!

Thank you!