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

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

    3. Kick-Start WordPress Development With Twig: Introduction

      Kick-Start WordPress Development With Twig: Introduction

      Tutorial Beginner

      The Twig templating engine along with a plugin called Timber can help us write super-clean and modular code in WordPress. In this series, we'll discuss its...

    4. The New Modification System in OpenCart 2

      The New Modification System in OpenCart 2

      Tutorial Intermediate

      There are lots of new features introduced in the recent version of OpenCart, and one of them is the new modification system. It allows you to alter the core...

    5. Set Up Google reCAPTCHA in OpenCart

      Set Up Google reCAPTCHA in OpenCart

      Tutorial Beginner

      Whether you're a pro or a fresher in the world of website development, the word CAPTCHA should not sound alien to you. It is an important and widely used...

    6. What Is Joomla?

      What Is Joomla?

      Tutorial Beginner

      Such is its popularity and usefulness over the last decade that Joomla! is considered one of the top-ranked open-source CMSs across the globe at the moment....

    7. What Is Magento?

      What Is Magento?

      Tutorial Beginner

      In this article, I've tried to give you a brief and non-technical introduction to what Magento is, for what kind of projects Magento is a good fit, a quick...

    8. A Quick Guide to the WordPress Customizer Interface

      A Quick Guide to the WordPress Customizer Interface

      Tutorial Beginner

      In this short video tutorial from my recent course on writing Customizer-ready WordPress themes, I’ll demonstrate the Customizer interface.

    9. Display the Last WordPress Query in 60 Seconds

      Display the Last WordPress Query in 60 Seconds

      Tutorial Intermediate

      In this 60-second video, we take a look at the code we need to write in order to display the most recently executed WordPress query.

    10. Building an Anonymous Slack Bot Using Ruby and Sinatra

      Building an Anonymous Slack Bot Using Ruby and Sinatra

      Tutorial Beginner

      In this tutorial, you'll learn how to make a simple Slack bot that lets users post anonymous messages on Slack channels.

    11. Managing Redirections in WordPress With Filters

      Managing Redirections in WordPress With Filters

      Tutorial Intermediate

      In this tutorial, I'm going to guide you through using WordPress filters to change the pages to redirect to upon different actions.

    12. Create a Custom "Order Total" Extension in OpenCart

      Create a Custom "Order Total" Extension in OpenCart

      Tutorial Intermediate

      In this article, we’re going to create a custom order totals extension in OpenCart. The order totals extensions allow you to manipulate the order amount...