Even as of 2022, PHP continues to drive a significant portion of the web. Node is currently what's popular, and before that Ruby was the big thing, but during it all PHP never died.
And not only has PHP never died, it has aged like a fine bottle of wine; continuing to evolve and grow with a strong community backing it.
In this course, you'll be learning the foundational blocks that make up PHP
Once you finish this course you'll have all the skills you'll need to effectively write PHP!
I have over 20 years of web development experience, and has been working with PHP for about as long. Soon after starting development, I became extremely interested and involved in open source programming, diving into various PHP frameworks over the years including OSCommerce, Drupal, and Laravel.
I'm excited to bring you a comprehensive introduction course on PHP, and I hope you enjoy it!
Before you can get started with PHP, you will need to install it, set up an IDE, and get your server running.
Tags are a fundamental syntax in PHP. In this module you'll learn how to open and close them, the importance of ending your statements with a semicolon, and even a short-hand for the commonly used "echo" tag.
Here, you will be learning how to create variables and constants, as well as learning the basics of PHP's type system. Like JavaScript, PHP features type coercion, which can be frustrating for new-to-PHP developers. But, we will exploring this so you can learn how to avoid some common mistakes
In this module, you will learn how to use conditionals to control the flow of your code. We will be covering a couple of ways to use if/else, switch statements, and PHP's match statement
In this module, we will be exploring PHP's control flow even further with loops. We will also be exploring array features and iteration.
Grouping your code into functions is a great way to keep your code organized and reusable. In this module, you will learn how to create and use functions, how the type system applies here, how scope works, and how to use functions in other files with include/require
Classes are the core of object-oriented programming in PHP. In this module, you will learn how to create classes, refactor functions into classes, and even replace all of your require statements with the Composer class autoloader.