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. The Repository Pattern in Laravel 5

      The Repository Pattern in Laravel 5

      Tutorial Advanced

      In this tutorial, you'll learn how you can easily create a repository based on Doctrine in Laravel 5.0, which will result in many benefits.

    2. What Is Drupal?

      What Is Drupal?

      Tutorial Beginner

      In this article we are going to answer some of the more frequent questions people have about Drupal when starting up for the first time or considering doing so.

    3. Set Up Common Controller Code in OpenCart

      Set Up Common Controller Code in OpenCart

      Tutorial Intermediate

      If you've come across module development in OpenCart, you may have faced the situation in which you've declared a couple of common elements in each and every...

    4. What Are Laravel 5.0 Facades?

      What Are Laravel 5.0 Facades?

      Tutorial Advanced

      The Laravel facade makes it super easy to call methods, and injecting the actual dependencies could really pay off down the line.

    5. Moving to Magento 2: Creating a Migration Plan

      Moving to Magento 2: Creating a Migration Plan

      Tutorial Beginner

      In this article, we look at some key considerations to help decide if it's a good decision to migrate to Magento 2.

    6. Building Quality Into WordPress Projects: A Practical Example

      Building Quality Into WordPress Projects: A Practical Example

      Tutorial Intermediate

      When it comes to writing software, one of the things that we often hear and often talk about is quality. More specifically, we talk about building quality...

    7. New Course: Write Customizer-Ready WordPress Themes

      New Course: Write Customizer-Ready WordPress Themes

      Tutorial Beginner

      In our new course, Envato Tuts+ instructor Rachel McCollin will teach you how to harness the power of the Customizer in your themes. You'll see how easy it...

    8. Build a Custom Affiliate Link With the Amazon Product Merchandising API

      Build a Custom Affiliate Link With the Amazon Product Merchandising API

      Tutorial Intermediate

      Learn how to use Amazon’s Product Merchandising API to dynamically generate your own custom product link, with an image, price, and “Buy” button, on your web...

    9. Create a Dashboard Module in OpenCart

      Create a Dashboard Module in OpenCart

      Tutorial Intermediate

      In this article, I'll demonstrate how to create a custom dashboard module in OpenCart. The dashboard modules provide a high-level view of the happenings and...

    10. How to Create a Custom Library in OpenCart

      How to Create a Custom Library in OpenCart

      Tutorial Intermediate

      Although OpenCart provides lots of features in the core itself, you'll often find yourself in the situation in which you'll want to integrate a third-party...

    11. Test-Driven Development With Laravel & Doctrine

      Test-Driven Development With Laravel & Doctrine

      Tutorial Advanced

      As a PHP developer, you may use the Test-Driven Development (TDD) technique to develop your software by writing tests. Typically, TDD will divide each task...

    12. Explore REST APIs in OpenCart 2.0: Part One

      Explore REST APIs in OpenCart 2.0: Part One

      Tutorial Intermediate

      You'll see lots of exciting features in the recent major version of OpenCart, and one of the most powerful among them is the introduction of REST APIs. In...