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 tutorials:

    1. Using and Extending the Drupal 8 Mail API: Part 2

      Using and Extending the Drupal 8 Mail API: Part 2

      Tutorial Intermediate

      In this two part series we explore the Drupal 8 Mail API to learn how we can send emails programatically and how we can create our own email plugin. In this...

    2. Exploring OwnCloud Desktop and Mobile Applications

      Exploring OwnCloud Desktop and Mobile Applications

      Tutorial Beginner

      Now that we've installed OwnCloud for your own file sharing needs, let's explore the applications that help you synchronize and move files across platforms...

    3. Using and Extending the Drupal 8 Mail API: Part 1

      Using and Extending the Drupal 8 Mail API: Part 1

      Tutorial Intermediate

      In this two part series we explore the Drupal 8 Mail API to learn how we can send emails programmatically and how we can create our own email plugin. In this...

    4. Create a Custom Payment Method Module in Magento: Part Three

      Create a Custom Payment Method Module in Magento: Part Three

      Tutorial Intermediate

      In this series, we're working on how to create a custom payment method extension in Magento. In the previous two parts of this series, we created a basic...

    5. Introduction to OwnCloud Server: File Sharing Under Your Control

      Introduction to OwnCloud Server: File Sharing Under Your Control

      Tutorial Intermediate

      Take control of your data by hosting your own file sharing cloud. Free, open source OwnCloud offers web and smartphone support.

    6. Create a Custom Payment Method Module in Magento: Part Two

      Create a Custom Payment Method Module in Magento: Part Two

      Tutorial Intermediate

      In this series, we're working on how to create a custom payment method extension in Magento. In the first part, we created a basic back­-end configuration...

    7. Understand Overriding in Magento: Controllers

      Understand Overriding in Magento: Controllers

      Tutorial Intermediate

      In the third and last article of this Magento overriding series, I'll explain how to override core controller files. In the previous two articles of this...

    8. Getting Started With the Instagram API: Media Endpoints

      Getting Started With the Instagram API: Media Endpoints

      Tutorial Intermediate

      Now that you're ready to dive into the Instagram API, we'll begin by registering a client application and searching for popular and place-based images...

    9. Understand Overriding in Magento: Models

      Understand Overriding in Magento: Models

      Tutorial Intermediate

      In this series, we're exploring overriding features available in the Magento eCommerce system. In the previous article, we discussed how to override core...

    10. Create a Custom API in Magento: Part Two

      Create a Custom API in Magento: Part Two

      Tutorial Intermediate

      In this series, we're discussing custom APIs in Magento. In the first part, we created a full-fledged custom module to implement the custom API, in which we...

    11. Understand Registry and Loader Objects in OpenCart

      Understand Registry and Loader Objects in OpenCart

      Tutorial Beginner

      In this tutorial, we're going to look at the inner workings of OpenCart. Specifically, we'll look at the registry and loader objects. The registry object is...

    12. Create a Custom Shipping Method in Magento

      Create a Custom Shipping Method in Magento

      Tutorial Intermediate

      In this tutorial, I'm going to explain how to create a custom shipping method module in Magento. We'll create a Magento custom module to demonstrate this....