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. Create a Custom Payment Method in OpenCart: Part 1

      Create a Custom Payment Method in OpenCart: Part 1

      Tutorial Intermediate

      Accepting online payments is an essential feature in any eCommerce website. In this series, we're going to explore the payment methods available for...

    2. Building Your Startup With PHP: Getting Started

      Building Your Startup With PHP: Getting Started

      Tutorial Beginner

      Learn how to turn your entrepreneurial business concept into an actual startup by following the instructor's own product development process.

    3. Building Your Startup With PHP: Table of Contents

      Building Your Startup With PHP: Table of Contents

      Tutorial Beginner

      A guide to our ongoing series on launching your own business and product with PHP. Here's what to expect in coming episodes. Check back regularly for updates.

    4. Adding Filter Hooks to Your WordPress Theme Framework

      Adding Filter Hooks to Your WordPress Theme Framework

      Tutorial Intermediate

      Adding filters to your theme framework means that you (or others using your framework) can amend or override code or content at a later date. Here's how to...

    5. Displaying Your WordPress Widget on the Site

      Displaying Your WordPress Widget on the Site

      Tutorial Intermediate

      Now that you've coded your widget's form, you need to display its output on the site. Here's how.

    6. Building the Form for Your WordPress Widget

      Building the Form for Your WordPress Widget

      Tutorial Intermediate

      Continue building your first WordPress widget by creating the form to help users interact with your widget on the Widgets dashboard screen.

    7. Coding and Registering Your WordPress Widget

      Coding and Registering Your WordPress Widget

      Tutorial Intermediate

      Start to develop your WordPress widget by creating a class to create it and registering it with WordPress.

    8. Integrate Bitcoin Payment Gateway Into OpenCart: Part 2

      Integrate Bitcoin Payment Gateway Into OpenCart: Part 2

      Tutorial Advanced

      Welcome to part 2 of our series, Bitcoin Payment System into OpenCart. In the previous tutorial, we created the payment module for the admin panel. In this...

    9. Custom Events in Magento With the Observer Pattern

      Custom Events in Magento With the Observer Pattern

      Tutorial Intermediate

      Considering the number of eCommerce frameworks available in the market, Magento is one of the most popular choices for medium-to-large-scale web shops. The...

    10. The Beginner’s Guide to WordPress Taxonomies: A Custom Plugin

      The Beginner’s Guide to WordPress Taxonomies: A Custom Plugin

      Tutorial Beginner

      The only thing we've yet to do is actually put together a plugin that demonstrates how to use the API to implement our own custom taxonomies. So in this...

    11. Create a Multi-Store Setup Using OpenCart

      Create a Multi-Store Setup Using OpenCart

      Tutorial Intermediate

      Most of the popular eCommerce frameworks available in the market provide the ability to offer multiple stores from within a single installation, and OpenCart...

    12. Altering the Core of OpenCart Using vQmod

      Altering the Core of OpenCart Using vQmod

      Tutorial Intermediate

      OpenCart has been a successful framework for small-to-medium scale e-commerce sites. Although the core of OpenCart provides many features a shopping cart...