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

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

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

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

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

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

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

    8. How to Program With Yii2: Working With the Database and Active Record

      How to Program With Yii2: Working With the Database and Active Record

      Tutorial Intermediate

      How to use Yii's automated scaffolding generator to build advanced web database applications quickly and easily.

    9. Custom Block Development in Magento

      Custom Block Development in Magento

      Tutorial Intermediate

      In this tutorial, we are going to explore Magento blocks, one of the essential components of the Magento architecture. We'll see the difference between...

    10. Create a Simple CRM in WordPress: Creating Custom Fields

      Create a Simple CRM in WordPress: Creating Custom Fields

      Tutorial Intermediate

      In this series, we've been looking at how to create a simple CRM system in WordPress.  In the first part of this series, we created a WordPress Plugin that...

    11. Building Your Startup With PHP: Localization With I18n

      Building Your Startup With PHP: Localization With I18n

      Tutorial Intermediate

      To expand the reach of our startup to a global audience, we need to provide translations for a variety of languages. In this tutorial, we leverage Yii's I18n...

    12. Create A Simple CRM in WordPress: Creating a Custom Post Type

      Create A Simple CRM in WordPress: Creating a Custom Post Type

      Tutorial Intermediate

      In this series, we're going to be building a simple CRM system in WordPress to store and track prospective clients.