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. Programming With Yii2: Using Ajax

      Programming With Yii2: Using Ajax

      Tutorial Intermediate

      Web pages rely on Ajax to offer interactive, app-like behavior. Learn how to make your web pages respond quickly with minimal page refresh with Yii and...

    2. Building Your Startup: Preparing for Reminders

      Building Your Startup: Preparing for Reminders

      Tutorial Intermediate

      With meetings planned, we need to allow people to set up reminders and manage their delivery. Come learn how we architected them for Meeting Planner.

    3. Programming With Yii2: Security

      Programming With Yii2: Security

      Tutorial Intermediate

      The Yii Framework integrates design principles to make basic web application security easier for developers to provide. Let's review what you should know...

    4. Building Your Startup: Delivering Notifications

      Building Your Startup: Delivering Notifications

      Tutorial Intermediate

      After meeting participants have made suggestions and changes, we create a text summary and deliver an update to other participants. Learn how to implement this.

    5. 20 Useful PHP Contact Forms on CodeCanyon

      20 Useful PHP Contact Forms on CodeCanyon

      Tutorial Beginner

      To help you find the right contact form for your website, here are 20 useful PHP contact forms on CodeCanyon.

    6. What’s New in OpenCart 2.3

      What’s New in OpenCart 2.3

      Tutorial Beginner

      In this article, you'll learn about some of the key features introduced in the recent release of OpenCart 2.3.

    7. Using Namespaces and Autoloading in WordPress Plugins, Part 2

      Using Namespaces and Autoloading in WordPress Plugins, Part 2

      Tutorial Intermediate

      In this series, we're taking a look at exactly what PHP namespaces are, why they are beneficial, and how to use them. But first, we're laying the foundation...

    8. New Coffee Break Course: First Look at Slim PHP

      New Coffee Break Course: First Look at Slim PHP

      Tutorial Beginner

      In our new Coffee Break Course, First Look at Slim PHP, you'll get a good introduction to Slim and see how a standard Slim application is built. Envato Tuts+...

    9. Building Your Startup: Notifying People of Meeting Updates

      Building Your Startup: Notifying People of Meeting Updates

      Tutorial Intermediate

      When meeting participants make changes, Meeting Planner needs to send notifications but delay long enough to consolidate them. Learn how to architect this.

    10. How to Secure a REST API With Lumen

      How to Secure a REST API With Lumen

      Tutorial Intermediate

      In this video tutorial, you'll learn how to use Lumen's built-in authentication middleware to secure a REST API with Lumen.

    11. Building Your Startup: Responsive Email for Gmail

      Building Your Startup: Responsive Email for Gmail

      Tutorial Intermediate

      Meeting Planner's new templates looked great everywhere... but not in Gmail. Follow me and Alice as we go into the dark wonderland of automated CSS inlining.

    12. New Coffee Break Course on Creating WordPress Child Themes

      New Coffee Break Course on Creating WordPress Child Themes

      Tutorial Beginner

      In our new Coffee Break Course, Customize Your WordPress Site With a Child Theme, Envato Tuts+ instructor Rachel McCollin will teach you how to customize a...