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. Mastering WP_Query: An Introduction

      Mastering WP_Query: An Introduction

      Tutorial Intermediate

      WP_Query is a powerful tool you can use to customise the way your WordPress site queries the database. In this introduction to the series I'll give an...

    2. Build a Real-Time Chat Application With Modulus and Laravel 5

      Build a Real-Time Chat Application With Modulus and Laravel 5

      Tutorial Intermediate

      In this tutorial, I will show you how to implement a real-time chat application with Laravel 5, PostgreSQL, and Pusher. Then we will deploy this application...

    3. Introduction to ProcessWire

      Introduction to ProcessWire

      Tutorial Beginner

      ProcessWire is an open source CMS and CMF. It uses a JQuery-inspired API and uses custom fields to achieve any task thrown at it. In this article I'll give...

    4. Building With the Twitter API: Managing Lists

      Building With the Twitter API: Managing Lists

      Tutorial Intermediate

      Now that you've read about the power of Twitter Lists, we'll write code to build features with the List API.

    5. Building With the Twitter API: The Power of Lists

      Building With the Twitter API: The Power of Lists

      Tutorial Beginner

      Lists are Twitter's most powerful underused feature. Take a second look at how you can use them and learn how to code for the List API.

    6. 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...

    7. 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...

    8. 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...

    9. 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...

    10. 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.

    11. 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...

    12. 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...