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

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

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

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

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

    6. Diagnose WordPress Performance Problems With New Relic

      Diagnose WordPress Performance Problems With New Relic

      Tutorial Intermediate

      Understanding what makes WordPress fast or slow requires a broad understanding of web infrastructure, and New Relic makes finding problems within your...

    7. Frequently Used Functions in Magento Development

      Frequently Used Functions in Magento Development

      Tutorial Beginner

      In this article I've compiled a brief list of PHP and XML functions which are most frequently used in Magento development. I have also tried to briefly...

    8. Building Your Startup With PHP:  Geolocation and Google Places

      Building Your Startup With PHP: Geolocation and Google Places

      Tutorial Intermediate

      Before you can schedule meetings with the Meeting Planner application, we need to build support for adding nearby places with the simplicity of geolocation...

    9. Build Your Own URL Shortener With YOURLS

      Build Your Own URL Shortener With YOURLS

      Tutorial Intermediate

      Don't write your own! Here's how to install and manage your own URL shortener with open source, PHP-based YOURLS.

    10. How to Program With Yii2: Exploring MVC, Forms and Layouts

      How to Program With Yii2: Exploring MVC, Forms and Layouts

      Tutorial Intermediate

      Now that you've built "Hello World," it's time to learn about Yii's implementation of Model View Controller architecture for use in everyday web development.

    11. How to Set Up Configurable Products Using Options in OpenCart

      How to Set Up Configurable Products Using Options in OpenCart

      Tutorial Intermediate

      One of the many useful features provided by OpenCart is "Options". In this tutorial, you'll learn how to use Options to set up different variations of the...

    12. Create a Custom Payment Method in OpenCart: Part 3

      Create a Custom Payment Method in OpenCart: Part 3

      Tutorial Intermediate

      In this series, you're learning how to set up a custom payment method in OpenCart. In the previous article, we created the back-end module for the custom...