Learn PHP for Free Online
PHP has a multitude of uses and is common in eCommerce and even used on sites like Facebook. Are you interested in learning PHP, but not sure where to start? Here’s a list of sites that will help you start out learning more about PHP. The best part - these sites are all free to use.
Codecademy: Of course, there’s always Codecademy. This site is one of the most popular options for learning any coding language, including PHP, and it doesn’t require any previous programming knowledge. Codecademy is adding new projects for PHP all of the time and is a good resource to keep returning to as you grow.
Learn-PHP Interactive Tutorial: Learn-PHP has an interactive tutorial that displays the results of your code as you’re going - no software installation required. Many of the lessons available are on basic topics (with updates promised in the future), so this is a great place to start off if you’re completely unsure about PHP in general.
Learn PHP YouTube playlist by Codecourse: Codecourse has a Learn PHP playlist on YouTube, starting from the most simple of PHP operations to increasingly complex operations like authentication or multidimensional arrays. These videos are a great companion to any PHP learning you’re undertaking, especially if you’re getting stuck on something. Even better, Codecourse adds new videos often on varying topics if you’re looking to branch out from PHP later on.
PHPBuddy: PHPBuddy is a bunch of online tutorials, lessons, and articles on coding in PHP. There aren’t many videos or no interactivity, but lots of descriptive text and some screenshots. It’s at least a good reference to use while learning PHP another way if you need more hand-holding.
1Keydata: 1Keydata is a series of guided tutorials that cover almost every PHP-related topic that you could think of. These are text-only tutorials and guides on PHP and even MySQL that cover topics like syntax and string functions.
SitePoint PHP: This site isn’t setup as a guided tutorial like 1Keydata or PHPBuddy, but it offers many tutorials and guides on various PHP topics and trends. It’s best if you have a bit of working PHP knowledge before using this site, as it is intended for intermediate to advanced coders.
PHP: The Right Way: This site emphasizes good practice in PHP over all else. There are lots of sites out there that have tutorials for PHP and other coding languages, but they haven’t been updated in years. PHP: The Right Way emphasizes tutorials and other sites that enforce the good coding practices that are the most efficient. New coders should take note of this site.
PHP Cheatsheets: This is a reference for intermediate to advanced coders who may need help with variable comparisons and variable testing throughout various versions of PHP. If you’re completely new to PHP, don’t worry about this site just yet, but bookmark it as you may need it later.
It’s best to use a combination of these sites, and others, in order to learn PHP more effectively. When learning online, it's always best to vary mediums, too. That means watching videos, reading tutorials, and of course building things on your own.