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. A Beginners Guide to Titan Framework: Creating a Theme Customizer Section

      A Beginners Guide to Titan Framework: Creating a Theme Customizer Section

      Tutorial Beginner

      The Theme Customization API, added in WordPress 3.4, allows developers to customize and add controls to the Appearance > Customize admin screen. Titan...

    2. Affiliate Marketing in OpenCart: Part One

      Affiliate Marketing in OpenCart: Part One

      Tutorial Beginner

      For e-commerce frameworks, affiliate marketing has become an important feature to have in the kitty. In this three-part series, we're going to explore...

    3. Magento Theme Development: Home Page, Part 2

      Magento Theme Development: Home Page, Part 2

      Tutorial Beginner

      In the previous tutorial in this series, we started modifying the header section of the home page. In this tutorial, we'll start where we left off with the...

    4. A Beginners Guide to Titan Framework: Creating a Metabox With Titan

      A Beginners Guide to Titan Framework: Creating a Metabox With Titan

      Tutorial Beginner

      Titan Framework has really eased the tedious task of creating metaboxes in your web development project. Before Titan Framework, I had to write some very...

    5. How to Program With Yii2: Google Authentication

      How to Program With Yii2: Google Authentication

      Tutorial Intermediate

      In this episode, we'll show you how to have your Yii2 app users register and sign in with their Google accounts.

    6. A Beginners Guide to Titan Framework: Creating an Admin Panel With Titan

      A Beginners Guide to Titan Framework: Creating an Admin Panel With Titan

      Tutorial Beginner

      The WordPress admin panel is pretty open for modifications and web developers have made the most out of it. These modifications are more common in themes due...

    7. A Beginners Guide to Titan Framework: How Titan Works

      A Beginners Guide to Titan Framework: How Titan Works

      Tutorial Beginner

      Thus far, I have discussed the importance and features of Titan Framework along with the basic setup. So, let's continue from where I left off and look at...

    8. Magento Theme Development: Home Page, Part 1

      Magento Theme Development: Home Page, Part 1

      Tutorial Beginner

      As we set the stage in the previous bootstrapping article, now is the time to actually dive deep into the code, and start making changes. As an obvious...

    9. How to Program With Yii2: Using the Advanced Application Template

      How to Program With Yii2: Using the Advanced Application Template

      Tutorial Intermediate

      Let's explore Yii's advanced template, which provides integrated user sign-up and registration as well as a back-end website for administration features.

    10. How to Develop a Membership Site With WordPress: Part 1

      How to Develop a Membership Site With WordPress: Part 1

      Tutorial Intermediate

      WordPress already ships with loads of good stuff to make a membership site. Unfortunately most of the process is handled on the back end, and ideally we want...

    11. Doctrine ORM and Laravel 5

      Doctrine ORM and Laravel 5

      Tutorial Beginner

      Doctrine 2 is an ORM for PHP that provides transparent persistence for PHP objects. In this tutorial, you'll learn how to set up Doctrine ORM with Laravel 5.

    12. Using get_pages to Create Link Buttons to Your Site's Top-Level Pages

      Using get_pages to Create Link Buttons to Your Site's Top-Level Pages

      Tutorial Intermediate

      Sometimes instead of simply having your top-level pages in your site's navigation menu, you want to draw more attention to them by adding prominent links to...