> PHP >

Course Overview

Login to bookmark this course

Course 1: How to win friends & develop in PHP

Boost PHP skills from creating your first file to handling JSON. Coding exercises with a real project.

  • 5578 students
  • EN Captions
  • EN Script
  • Certificate of Completion

Your Guides

About this course

So you want to become a PHP developer. And not just any ol' programmer, but someone who writes great code and can work on exciting projects. Well then, this screencast series is for you!

We'll learn how to develop with PHP from the very beginning, with a real project, and coding exercises throughout the screencast so you can practice immediately.

In this episode, we learn about:

  • creating your first PHP file
  • using functions
  • variables
  • loops and if statements
  • reading and updating files
  • handling JSON
  • Setting up your computer to run PHP
  • creating your own functions
  • Organizing your project into multiple files
  • Creating a simple layout

Next courses in the PHP: Get Started section of the PHP Track!

25 Comments

Sort By
Login or Register to join the conversation
Default user avatar Sargath 5 years ago

Fantastic I'm looking forward for this kind of tut. Especially on top of Symfony like , building structure of full app. Maybe I expect to much, but it would be nice like divide responsibility of helper classes, how to structure app with interfaces abstract classes etc. Best Regards!!

4 | Reply |
Muhamad-khafidh-fuadi avatar Muhamad-khafidh-fuadi 1 year ago

Fantastic I'm looking forward for this kind of tut. Especially on top of Symfony like , building structure of full app. Maybe I expect to much, but it would be nice like divide responsibility of helper classes, how to structure app with interfaces abstract classes etc. Best Regards!!

| Reply |

Hey Muhamad,

Thank you for your interest in SymfonyCasts tutorials! Except PHP track: https://symfonycasts.com/tracks/php - that seems you're crushing right now, we also have OOP (Object-oriented programming) track: https://symfonycasts.com/tracks/oo - there you will find a bit more advanced PHP courses, actually exactly something you're looking for I think. :) It's required to know some basic PHP syntax before starting that course. We also have a lot of Symfony-related courses... but in them we suppose that users already know PHP and OOP well, or at least know its syntax and can understand. So, after OOP track, you could take a look at https://symfonycasts.com/tracks/symfony one in case you're interested in Symfony courses :)

I hope it helps!

Cheers!

Cheers!

| Reply |
Fernando F. avatar Fernando F. 3 years ago

I finished this course, and while I struggled a bit with the parts that required HTML, I learned quite a lot!

That being said, I'm feeling a bit left out with the requirements of the other tracks. As someone who's essentially a beginner, I thought I could go to the JavaScript fundamentals track, but it requires JavaScript knowledge. Does anyone know if I'm missing some track that gives me that knowledge? I don't want to lose my two remaining months from the GitHub Student Pack benefit :(

| Reply |

Hey Fernando!

Yeah, unfortunately we don't have JavaScript courses from scratch unfortunately, only PHP courses. Mostly, we're working on creating tutorials for Symfony and its infrastructure, that affects some other tools and technologies, but mostly we're teaching from scratch only tools not programming languages. If you don't know Symfony framework, or React JS, or Vue JS - yes, you can find a course for yourself that will teach you from basics. But we already suppose that users know basic programming language principles at least in which that tool is written.

So, what about JS, here're the most beginner courses we have so far: https://symfonycasts.com/tr...

Meanwhile, if you can't find a good JS course that fits you on SymfonyCasts but don't want to lose your free 3-month access from GitHub Education - take a look at other courses! If you want to learn server-side programming language as PHP - I'd recommend you to look at these courses: https://symfonycasts.com/tr... . In case you already know this language - I'd recommend you to look at Symfony that is a very popular PHP framework: https://symfonycasts.com/tr...

I hope this information was helpful to you!

Cheers!

| Reply |
Lucio S. avatar Lucio S. 5 years ago

Hello, I keep getting the message below on this activity: https://symfonycasts.com/sc...

"Your challenge machine shutdown!
We do this after awhile for security reasons. Reload the page to get a fresh challenge."

| Reply |

Hey Lucio S.!

Sorry about that! We had a brief outage with the challenges - and I've *just* fixed it. Apologies for the inconvenience!

Cheers!

| Reply |

Thank you! :)

| Reply |
Default user avatar Neoburner 5 years ago

I presume the course is still in active production? Don't leave us hanging!!

| Reply |

Hi Neoburner!

Actually, this episode is now complete - I've just updated the description so that it actually reads this way - sorry for any confusion! But, we do plan future episodes, and if you're interested, you can subscribe to episode 2 (http://knpuniversity.com/sc... and we'll email you when it's ready.

Cheers!

1 | Reply |
Default user avatar Samuel 5 years ago

I am sorry I must be blind but I do not see resources anywhere. Not in the dropdown "download". The "script" item links to the pdf of the course. No resources anywhere on the page. Thank you.

| Reply |

Hi Samuel!

You're not blind at all! The code download was missing, but I've fixed that now - you'll find it in the "download" drop down where you were looking before. We don't mention it yet, but the code is also always available on Github: https://github.com/knpunive....

Thanks for the comment to let us know!

| Reply |
Default user avatar Tiago Brito 5 years ago

Great job guys, really excited to learn more and more....

| Reply |

Cheers!

| Reply |

hi
very nice
what i miss this file to download with code on every Lesson
so can learn and practice

| Reply |

Hey ido ,

Thanks! Unfortunately, we don't have this feature yet. We have an issue about it, but it's not prioritized yet. For now, you can use our handy expandable code block below each video. You can even expand the entire file by pressing "Show All Lines" button (double arrows in the left top corner of each code block) to get more context. In addition, keep in mind that "Copy" button in the right top corner, it prevent you to select and copy the code manually.

Cheers!

| Reply |
avknor avatar avknor 5 years ago

Finished this course just for fun. But it stuck for me at 98% (( no fun ((
Give me my badge with elephant in the hat! :-D

| Reply |

Yo Andrey!

Boom! Now it's 100% - elephant in the hat achieved :D. The *last* little detail - apparently - was that you hadn't at least started watching the first chapter's video - it's a little subtle - the missing little check-mark next to 1. - http://imgur.com/VSucHKY.

Cheers!

| Reply |

I'm also stuck at 98% with all checkmarks and all challenges passed.

| Reply |

Hey ecafsub ,

Look closer for checked marks near each chapter heading, most probably you just need to re-watch some video to the end. If you can't find what video - tell me the email of your KnpU account and I'll help you to find one. If you don't want to make your email public - just send it to hello@knpuniversity.com and briefly explain your problem again, please.

Cheers!

| Reply |

Weird. Desktop showing all checks, but mobile showed server setup wasn’t complete. Thanks!

| Reply |

Hm, really weird, probably some kind of browser caching. Glad you figured it out!

Cheers!

| Reply |

thnx! =D

| Reply |
Default user avatar Khaera Belkadi 5 years ago

Awesome !!

| Reply |

Thank you! :)

Cheers!

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!