Course 1: How to win friends & develop in PHP


What you'll be learning

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

Your Guides

Ryan Weaver Leanna Pelham

Buy Access

Questions? Conversation?

  • 2019-01-28 Lucio Eastman

    Thank you! :)

  • 2019-01-28 weaverryan

    Hey Lucio Eastman!

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


  • 2019-01-28 Lucio Eastman

    Hello, I keep getting the message below on this activity:

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

  • 2018-03-05 Victor Bocharsky

    Thank you! :)


  • 2018-03-05 Khaera Belkadi

    Awesome !!

  • 2017-11-15 Victor Bocharsky

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


  • 2017-11-15 ecafsub

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

  • 2017-11-15 Victor Bocharsky

    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 and briefly explain your problem again, please.


  • 2017-11-15 ecafsub

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

  • 2017-07-31 Victor Bocharsky

    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.


  • 2017-07-29 ido

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

  • 2016-10-16 avknor

    thnx! =D

  • 2016-10-15 weaverryan

    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. -


  • 2016-10-15 avknor

    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

  • 2016-05-25 weaverryan


  • 2016-05-24 Tiago Brito

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

  • 2014-04-21 weaverryan

    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 ( and we'll email you when it's ready.


  • 2014-04-20 Neoburner

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

  • 2013-11-29 weaverryan

    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:

    Thanks for the comment to let us know!

  • 2013-11-27 Samuel

    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.

  • 2013-10-21 Sargath

    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!!