Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

reav0r's avatar

Best way to learn php and laravel?

Hey everyone,

I'm all new here, so sorry if I do something wrong / stupid, but I have a (for me) big question. I'm a not a total novice programmer, but I can't really program free in any language and I'm not a total novice that don't know what an if statement is or a loop. So I would say am something in between that. I have done a little bit of PHP programming about 2 or 3 month ago, but I forgot the most of it since I didn't do something with PHP from than till now.

Now I have to learn PHP properly since I will need it for some projects (both for work and private projects) and I want to learn the laravel framework since it makes PHP much better in my eyes. But I don't know what resources I should use to learn PHP properly. Could you give my some advice for a good resource learning PHP? For Laravel I will definitely buy a laracast subscription :)

0 likes
6 replies
chrisgeary92's avatar

The best place you can go to learn Laravel is right here.. You can also learn some PHP here too, Jeffrey has done some videos about OOP which you can view here. But if you're quite new to PHP (and programming in general) then it's perhaps worth you looking at Treehouse, they have some very good videos introducing you to PHP (and best of all, there is a 2 week free trial).

As soon as you feel you understand the basics, come back to Laracasts as, in my opinion, the courses are of a much higher quality (however most of them assume you know basic PHP, which is where Treehouse comes in handy).

2 likes
jorgemudry@gmail.com's avatar

Hi there!

As @RachidLaasri "suggested" :P, start reading (a lot).

IMHO, the best way to learn PHP is:

  1. Learn WHAT can you do with it (reading)

  2. Learn HOW to do it (writen actuall php code)

Also, with your laravel suscription, you'll get more that Laravel learning. Jeffrey has a lot of lessons about OOP, good practices and PHP in general.

3 likes
Shaun's avatar

If you have the time, I've found that the best way to learn is by doing. Start a passion project in Laravel, experiment a little, re-create one of the examples that Jeffrey shows in his videos.

I can sit and watch/read tutorials all day long, but if I'm not applying them, the knowledge is easily lost.

4 likes
reav0r's avatar

Ok thanks for the fast responses guys :) I will now take some time and check out all the links you gave me. And i think i will take the php track from treehouse as a little helper for getting in again.

1 like

Please or to participate in this conversation.