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. From Beginner to Advanced in OpenCart: Module Development

      From Beginner to Advanced in OpenCart: Module Development

      Tutorial Intermediate

      In the previous articles, we examined the MVC architecture and created our first controller, model, and view in the OpenCart application. We did this in...

    2. Create a Custom Theme With OpenCart: Part Two

      Create a Custom Theme With OpenCart: Part Two

      Tutorial Beginner

      In the first article of this series, we explored the basic theme structure of OpenCart. Now, let's move one step further and learn how to can create a custom...

    3. Understanding PhpSpec

      Understanding PhpSpec

      Tutorial Advanced

      If you compare PhpSpec to other testing frameworks, you will find that it is a very sophisticated and opinionated tool. One of the reasons for this, is that...

    4. Create a Custom Theme With OpenCart: Introduction

      Create a Custom Theme With OpenCart: Introduction

      Tutorial Beginner

      In this series, we will go through the development of custom theme in the OpenCart e-commerce framework. We will closely look at the theme structure of the...

    5. OpenCart Marketing Tools: Banners

      OpenCart Marketing Tools: Banners

      Tutorial Beginner

      Within an OpenCart web shop, banners can be displayed in many forms. They can be displayed as a static image, a carousel, or a slideshow. Each banner may...

    6. Introduction to the Yii Framework

      Introduction to the Yii Framework

      Tutorial Beginner

      Yii is the most powerful PHP framework you've never heard of. Here's what you've been missing out on.

    7. Five Hidden Gems of Laravel

      Five Hidden Gems of Laravel

      Tutorial Beginner

      Many developers who use Laravel are probably only barely scratching the surface of what the framework has to offer. While the documentation does cover the...

    8. Magento Custom Module Development

      Magento Custom Module Development

      Tutorial Beginner

      Magento custom module development is a core part of any Magento development or Magento project, because at any stage you may want to integrate your own...

    9. From Beginner To Advanced in OpenCart: Understanding MVC

      From Beginner To Advanced in OpenCart: Understanding MVC

      Tutorial Intermediate

      In our previous tutorial, we discussed some of the basics programming of OpenCart. In this tutorial, we are going to continue the discussion of the design...

    10. From Beginner to Advanced OpenCart: More About MVC

      From Beginner to Advanced OpenCart: More About MVC

      Tutorial Beginner

      Previously, we reviewed the Model-View-Controller - or MVC - architecture of OpenCart. In this regard, we created our first "Hello World!" Controller. So, In...

    11. An Introduction to Magento Design Terminology and Concepts

      An Introduction to Magento Design Terminology and Concepts

      Tutorial Beginner

      Are you a Magento beginner? Want to create theme of your own? If so, this article is written specifically for you. In order to start with Magento theme...

    12. From Beginner To Advanced in OpenCart: The Architecture

      From Beginner To Advanced in OpenCart: The Architecture

      Tutorial Beginner

      Up until this point, our previous articles have focused on OpenCart's user interface. In the articles, we discussed how to use the admin panel. Starting in...