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

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

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

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

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

    6. Revisiting Open Source Social Networking: Installing GNU Social

      Revisiting Open Source Social Networking: Installing GNU Social

      Tutorial Intermediate

      After sampling Diaspora, Pump.io, Tent.io and others, we dive in with GNU Social and offer some thoughts on competing with Facebook and Twitter.

    7. Generate Notifications From Your Web App With the Pushover API

      Generate Notifications From Your Web App With the Pushover API

      Tutorial Intermediate

      Pushover is a great service, which makes it easy and inexpensive for developers to send push notifications to iOS and Android devices without having to...

    8. Laravel, BDD and You: The First Feature

      Laravel, BDD and You: The First Feature

      Tutorial Intermediate

      Follow along in the second part in this series on behavior-driven development with Laravel, Behat and PhpSpec. In this part we will build our first feature....

    9. Digging in to Laravel's IoC Container

      Digging in to Laravel's IoC Container

      Tutorial Intermediate

      Inversion of Control is a technique that allows control to be inverted when compared to classical procedural code. The most prominent form of IoC is, of...

    10. A Comprehensive Approach to Magento SEO: The Basics

      A Comprehensive Approach to Magento SEO: The Basics

      Tutorial Beginner

      This is the first part of a four-article series in which we'll explore Magento Search Engine Optimization techniques in detail. In this article, you'll learn...

    11. Building With the Twitter API: Using Real-Time Streams

      Building With the Twitter API: Using Real-Time Streams

      Tutorial Advanced

      While the Twitter REST API is suitable for many applications, if you want immediate updates and access to a broader array of notifications, the Twitter...

    12. Creating Maintainable WordPress Meta Boxes: Refactoring

      Creating Maintainable WordPress Meta Boxes: Refactoring

      Tutorial Beginner

      Throughout this series, we've been focusing on building maintainable WordPress meta boxes. By that, I mean that we've been working to create a WordPress...