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

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

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

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

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

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

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

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

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

    10. How to Install Yii on Windows or a Mac

      How to Install Yii on Windows or a Mac

      Tutorial Beginner

      Yii is one of the best PHP Frameworks. Our Envato Tuts+ building a PHP startup series is built on it. Learn how to install Yii on Windows or macOS and build...

    11. Building Your Startup: Approaching Major Feature Enhancements

      Building Your Startup: Approaching Major Feature Enhancements

      Tutorial Intermediate

      Adding activity balloting to the meeting planning feature required extensive changes to the application. Learn how to think about successfully adding major...

    12. Programming With Yii: Generating Documentation

      Programming With Yii: Generating Documentation

      Tutorial Intermediate

      Learn to use Yii2's automated documentation generator, apidoc, as I build the API documentation for my startup Meeting Planner application.