Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine

Course 1: How to win friends & develop in PHP

1:10:55

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

Join the Conversation?

23
Login or Register to join the conversation
Default user avatar
Default user avatar Sargath | posted 4 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
Fernando F. Avatar
Fernando F. Avatar Fernando F. | posted 1 year 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. Avatar Lucio S. | posted 3 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 Eastman!

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

Cheers!

Reply
Lucio S. Avatar

Thank you! :)

Reply
Default user avatar
Default user avatar Neoburner | posted 4 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

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
Default user avatar Tiago Brito | posted 4 years ago

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

Reply
Default user avatar

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

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
Default user avatar

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
Default user avatar

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
avknor Avatar

thnx! =D

Reply
Default user avatar
Default user avatar Khaera Belkadi | posted 4 years ago

Awesome !!

Reply

Thank you! :)

Cheers!

Reply
Cat in space

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