Learn PHP

If you want to be a web developer, you need to learn PHP. Read these free tutorials to master this powerful and popular scripting language.

Getting started with PHP

  • How to Build a Simple REST API in PHP

    How to Build a Simple REST API in PHP

    Sajal Soni
  • How to Use Sessions and Session Variables in PHP

    How to Use Sessions and Session Variables in PHP

    Sajal Soni
  • How to Upload a File in PHP (With an Example)

    How to Upload a File in PHP (With an Example)

    Sajal Soni
  • All PHP content:

    1. Using WordPress to Create an FAQ System With Custom Post Types

      Using WordPress to Create an FAQ System With Custom Post Types

      Tutorial Intermediate

      If you're building a website for a person or an organization and the website needs to educate its visitors with small doses of knowledge, an FAQ page is one...

    2. Refactoring Legacy Code: Part 4 - Our First Unit Tests

      Refactoring Legacy Code: Part 4 - Our First Unit Tests

      Tutorial Intermediate

      Learn techniques for how to deal with complex and complicated unknown legacy code, how to understand it, and finally writing the Golden Master tests for...

    3. Object-Oriented Programming in WordPress: Building the Plugin I

      Object-Oriented Programming in WordPress: Building the Plugin I

      Tutorial Beginner

      At this point in the series, we're finally able to begin building our first plugin using the object-oriented techniques that we've learned thus far in the...

    4. Getting Started With Phpspec

      Getting Started With Phpspec

      Tutorial Intermediate

      Join me for an introduction to using phpspec, a behavior driven development toolset that allows you to describe your application's behavior by writing...

    5. Refactoring Legacy Code: Part 3 - Complex Conditionals

      Refactoring Legacy Code: Part 3 - Complex Conditionals

      Tutorial Intermediate

      Learn techniques for how to deal with complex and complicated unknown legacy code, how to understand it, and finally updating the Golden Master tests.

    6. Object-Oriented Programming in WordPress: Scope

      Object-Oriented Programming in WordPress: Scope

      Tutorial Beginner

      In continuing our discussion of object-oriented programming in WordPress, we need to begin talking about the idea of scope. In short, this refers to the...

    7. PhpStorm: When the IDE Really Matters

      PhpStorm: When the IDE Really Matters

      Tutorial Beginner

      The IDE that you choose to use day in and day out, can make a big difference in your web dev workflow. PhpStorm offers many wonderful features to improve...

    8. Object-Oriented Programming in WordPress: Functions and Attributes

      Object-Oriented Programming in WordPress: Functions and Attributes

      Tutorial Beginner

      As we continue our discussion of object-oriented programming within the context of WordPress, it's time for us to begin talking about actual features of...

    9. Understanding Apache and htaccess

      Understanding Apache and htaccess

      Course Advanced

      In this course we'll look at what we need to do to install and configure Apache 2.4.7. We'll also review many of the things that you'll likely want to do...

    10. How to Use New Relic With PHP & WordPress

      How to Use New Relic With PHP & WordPress

      Tutorial Beginner

      Today we will look at how to monitor a PHP application using New Relic. More specifically we will set up a basic WordPress installation and get some...

    11. Object-Oriented Programming in WordPress: Control Structures I

      Object-Oriented Programming in WordPress: Control Structures I

      Tutorial Beginner

      WordPress is a powerful CMS that provides a flexible foundation on which to build both sites and applications. If you want to extend WordPress functionality,...

    12. Refactoring Legacy Code: Part 2 - Magic Strings & Constants

      Refactoring Legacy Code: Part 2 - Magic Strings & Constants

      Tutorial Beginner

      Learn techniques for how to deal with complex and complicated unknown legacy code, how to understand it, and finally updating the Golden Master tests.