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 Deploy With Deployer

      How to Deploy With Deployer

      Tutorial Intermediate

      Build a continuous integration process for your projects with a PHP deployment tool called Deployer.

    2. New Course: PHP Fundamentals

      New Course: PHP Fundamentals

      Tutorial Beginner

      Do you want a comprehensive introduction to PHP? Like seven-hour, 34-video comprehensive? Then try our new course, PHP Fundamentals.

    3. Package Management in Laravel

      Package Management in Laravel

      Tutorial Intermediate

      In this article, we'll explore the package management feature in the Laravel framework. We’ll go through a real-world example to demonstrate how it works.

    4. How to Create Custom Drivers in CodeIgniter

      How to Create Custom Drivers in CodeIgniter

      Tutorial Beginner

      In this article, we're going to explore the concept of drivers in CodeIgniter. Drivers are useful in allowing you to extend the CodeIgniter framework.

    5. How CodeIgniter's Hook System Works

      How CodeIgniter's Hook System Works

      Tutorial Beginner

      We're going to explore the hook system in the CodeIgniter framework, which allows you to override the core and alter the request execution workflow.

    6. Making Things Faster With Gearman and Supervisor

      Making Things Faster With Gearman and Supervisor

      Tutorial Intermediate

      How to delegate your tasks to a more powerful server or even run them in the background so that you don't make your user wait too long.

    7. Pagination in CodeIgniter: The Complete Guide

      Pagination in CodeIgniter: The Complete Guide

      Tutorial Beginner

      In this article, we'll discuss the pagination library in the CodeIgniter framework: the basic use case, customization options, and pagination configuration.

    8. New Course: Code a Custom Drupal Module

      New Course: Code a Custom Drupal Module

      Tutorial Beginner

      Drupal modules allow you to create highly customized functionality for your site. In our new course, you'll get up and running with Drupal modules easily.

    9. Understand the Basics of Laravel Middleware

      Understand the Basics of Laravel Middleware

      Tutorial Beginner

      Today, we're going to discuss an important concept in the Laravel framework—middleware. You'll learn all the fundamentals of using middleware in Laravel.

    10. Should You Use a PHP Framework? Five Pros and Cons

      Should You Use a PHP Framework? Five Pros and Cons

      Tutorial Beginner

      A framework can help you develop your PHP application rapidly and with confidence. But is using one always the best decision? In this tutorial, we'll explore...

    11. CodeIgniter Form Validation: From Start to Finish

      CodeIgniter Form Validation: From Start to Finish

      Tutorial Beginner

      Validating the input data is an essential part of any web application, and the more support you get from the framework itself, the less you need to worry...

    12. 12 Best Contact Form PHP Scripts

      12 Best Contact Form PHP Scripts

      Tutorial Beginner

      Are you looking for an efficient and easy to integrate a contact form PHP script? Contact forms are a must-have for every website, and whether your need is...