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. Building Your Startup With PHP: Scheduling Availability and Choices

      Building Your Startup With PHP: Scheduling Availability and Choices

      Tutorial Advanced

      Learn how we use Bootstrap switches, Yii 2 MVC and AJAX to gather participant availability and meeting preferences and finalize the schedule.

    2. How to Program With Yii2: Sluggable Behavior

      How to Program With Yii2: Sluggable Behavior

      Tutorial Intermediate

      Human readable URLs are user friendly and search-engine friendly. The Yii Framework provides built-in support for readable URLs, also known as slugs.

    3. A Walkthrough on Conditional Tags in WordPress: Introduction

      A Walkthrough on Conditional Tags in WordPress: Introduction

      Tutorial Beginner

      One of the most important strengths of WordPress is its extensibility. To create such a solid infrastructure, WordPress includes lots of handy sub-systems....

    4. Introduction to Lumen

      Introduction to Lumen

      Tutorial Beginner

      Have you heard of Lumen yet? If you answered yes, that's great. If you answered no, let me explain to you just what Lumen actually is.

    5. Using Social Media to Locate Eyewitnesses to Important Events

      Using Social Media to Locate Eyewitnesses to Important Events

      Tutorial Intermediate

      Given a time and a place, how might a journalist or law enforcement detective locate potential eyewitnesses to a crime or important event? We'll explore the...

    6. Understand Layouts in OpenCart

      Understand Layouts in OpenCart

      Tutorial Intermediate

      In this tutorial, we'll explore the concept of layouts in OpenCart. We'll start by exploring the core layouts available in OpenCart, and as we move on we'll...

    7. Localize Your Web Application for Any Country With the Google Translate API

      Localize Your Web Application for Any Country With the Google Translate API

      Tutorial Intermediate

      By linking Yii's I18n Message/Extract to the Google Translate API, we can automate translation of our application into 63 languages.

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

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

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

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

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