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. Free Course: Create Content in WordPress With Posts and Pages

      Free Course: Create Content in WordPress With Posts and Pages

      Tutorial Beginner

      In this course, Envato Tuts+ instructor Rachel McCollin will teach you how to create content for your site in WordPress. You'll learn about posts and pages,...

    2. Drupal 8: Properly Injecting Dependencies Using DI

      Drupal 8: Properly Injecting Dependencies Using DI

      Tutorial Advanced

      In this article we look at how to use dependency injection in Drupal 8 to correctly make use of services in various classes. Injecting rather than loading...

    3. How Dispatching Works in OpenCart

      How Dispatching Works in OpenCart

      Tutorial Beginner

      In any programming framework, the dispatching process plays an important role in the overall architecture of that framework. In this article, we’ll go...

    4. Build a Custom Report in OpenCart

      Build a Custom Report in OpenCart

      Tutorial Intermediate

      In this article, we'll create a custom report in the back-end of OpenCart. Although OpenCart already provides useful reports in the core, it's always nice to...

    5. How to Use Ajax With OpenCart

      How to Use Ajax With OpenCart

      Tutorial Intermediate

      Gone are the days when you would have to wait for complete page refresh to fetch the content of any web page. Nowadays you'll witness a rich and a friendly...

    6. Deploy Your PHP Application With Rocketeer

      Deploy Your PHP Application With Rocketeer

      Tutorial Beginner

      Rocketeer is a great tool for deploying your PHP application. Being written in PHP, it allows you to create an integrated and flexible deployment process.

    7. Understand User Permissions in OpenCart

      Understand User Permissions in OpenCart

      Tutorial Intermediate

      In any software system, the Access Control List (ACL) plays an important role as it allows you to monitor and control user actions—specifically who can do...

    8. How to Authenticate Users With Twitter OAuth 2.0

      How to Authenticate Users With Twitter OAuth 2.0

      Tutorial Intermediate

      In this tutorial, you will learn how to use Twitter API 1.1 and OAuth 2.0 to authenticate users of your application and publish a test tweet.

    9. How to Create a Slack Interface for Your PHP Application

      How to Create a Slack Interface for Your PHP Application

      Tutorial Intermediate

      Slack is a great tool for office communication, but its real power lies in the way it can be connected to other applications and bots. In this tutorial, you...

    10. Kick-Start WordPress Development With Twig: Getting Started

      Kick-Start WordPress Development With Twig: Getting Started

      Tutorial Beginner

      Now we understand that Twig—along with the WordPress plugin Timber—can help developers write modular code while developing WordPress themes. With such a...

    11. What Are Laravel Exceptions?

      What Are Laravel Exceptions?

      Tutorial Intermediate

      Exceptions are a very important aspect of application development, and they are an excellent tool for controlling the execution flow of the application.

    12. Understand Caching in OpenCart

      Understand Caching in OpenCart

      Tutorial Beginner

      Today, we’ll explore caching in the context of OpenCart. We’ll explore how it works in OpenCart along with the different caching adapters provided in the...