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. Custom Widget Development in Magento

      Custom Widget Development in Magento

      Tutorial Intermediate

      For a while now, Magento has been the benchmark set amongst the e­-commerce frameworks available in the market. Credit goes to the plethora of ­rich built-in...

    2. Creating a Dating Application with Sinch: RESTful API

      Creating a Dating Application with Sinch: RESTful API

      Tutorial Intermediate

      In this tutorial, we're going to create a dating application for iOS similar to Tinder. For voice and messaging, we will leverage the Sinch platform, making...

    3. A Glance at the New OpenCart 2.0

      A Glance at the New OpenCart 2.0

      Tutorial Beginner

      For a while now, OpenCart has been a popular e­-commerce framework for small to medium level online stores. Recently with the release of the 2.0 major...

    4. Why You Shouldn’t Code URLs in WordPress Themes or Plugins

      Why You Shouldn’t Code URLs in WordPress Themes or Plugins

      Tutorial Beginner

      Hard-coding URLs into your themes and plugins is a risky thing to do—but the good news is, you don't have to. Here I'll show you the functions you can use to...

    5. Building Your Startup With PHP: Scheduling a Meeting

      Building Your Startup With PHP: Scheduling a Meeting

      Tutorial Intermediate

      After laying the groundwork in previous tutorials, we're finally ready to begin building the end user functionality for scheduling a meeting, and it's...

    6. How to Program With Yii2: User Access Controls

      How to Program With Yii2: User Access Controls

      Tutorial Intermediate

      The Yii Framework makes it easy to implement authentication controls over the features in your web application. Learn how to restrict access by user for...

    7. Building Your Startup With PHP: User Settings, Profile Images and Contact Details

      Building Your Startup With PHP: User Settings, Profile Images and Contact Details

      Tutorial Intermediate

      As Meeting Planner grows in sophistication, we need to provide features that personalize and customize our application for users.

    8. Custom Back-­End Configuration in Magento

      Custom Back-­End Configuration in Magento

      Tutorial Intermediate

      In this tutorial, I'm going to demonstrate custom module configuration in the back-­end of Magento. It's always useful to provide a set of configurable...

    9. Building Your Startup: Access Control, Active Record Relations and Slugs

      Building Your Startup: Access Control, Active Record Relations and Slugs

      Tutorial Intermediate

      Code sprints are fun, but often you have to circle back to polish and integrate feature work. I'll show how frameworks provide infrastructure and support for...

    10. How to Program With Yii2: Localization With I18n

      How to Program With Yii2: Localization With I18n

      Tutorial Intermediate

      Make your web application accessible to users in any country with Yii2's I18n support for translation-ready resource files.

    11. Create a Simple CRM in WordPress: Adding Columns to WP_List_Table

      Create a Simple CRM in WordPress: Adding Columns to WP_List_Table

      Tutorial Intermediate

      We've been looking at how to create a simple CRM system in WordPress.  In the last part of this series, we used Advanced Custom Fields to add custom fields...

    12. How to Program With Yii2: Integrating User Registration

      How to Program With Yii2: Integrating User Registration

      Tutorial Intermediate

      Yii2 offers a couple of ways to integrate user registration. We'll show you how to use a third party extension, Yii2-User.