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. Bridging React With Other Popular Web Languages

      Bridging React With Other Popular Web Languages

      Tutorial Intermediate

      React can work with your existing apps, no matter if they are made in Node or not. We will detail the many ways React can be implemented to work alongside...

    2. How to Set Up Downloadable Products in OpenCart

      How to Set Up Downloadable Products in OpenCart

      Tutorial Beginner

      In this article, I’ll explain how to set up downloadable products in OpenCart, which helps you sell digital goods and makes it a breeze. In the first half of...

    3. Building a CMS: phpPress

      Building a CMS: phpPress

      Tutorial Intermediate

      With Virtual Private Servers getting more affordable, it is easier than ever to set up a unique Content Management System (CMS) for a web site. In this...

    4. Create a Custom Caching Adapter in OpenCart

      Create a Custom Caching Adapter in OpenCart

      Tutorial Intermediate

      Being a popular e-commerce framework, OpenCart already supports different caching adapters like APC, Memcached and File in the core. Today, we’ll extend it...

    5. How to Create a Telegram Bot With PHP

      How to Create a Telegram Bot With PHP

      Tutorial Beginner

      In this tutorial, you'll learn how to create a Telegram bot, connect it with analytics, write some code, and add a bot to a bot store.

    6. Create a Custom Plugin in OpenCart 2.1.x.x: Part Two

      Create a Custom Plugin in OpenCart 2.1.x.x: Part Two

      Tutorial Intermediate

      In this series, we’re exploring the concepts of custom plugin development in OpenCart. In the first part, we developed a back-end plugin that provides a...

    7. Create a Custom Shipping Method for WooCommerce

      Create a Custom Shipping Method for WooCommerce

      Tutorial Intermediate

      WooCommerce is a great e-commerce plugin for WordPress. When selling physical products, you need to ship them to your customers. In this tutorial you will...

    8. New Course on the Twig Template Engine for PHP

      New Course on the Twig Template Engine for PHP

      Tutorial Beginner

      In our latest Coffee Break Course, Twig Template Engine for PHP, Envato Tuts+ instructor Jeremy McPeak will introduce you to Twig: a flexible, fast, and...

    9. Create a Custom Plugin in OpenCart 2.1.x.x: Part One

      Create a Custom Plugin in OpenCart 2.1.x.x: Part One

      Tutorial Intermediate

      In this two-part series, I'll explain custom plugin development in OpenCart. From the perspective of a newbie developer, we'll go through the details of...

    10. Install and Uninstall Hooks in OpenCart

      Install and Uninstall Hooks in OpenCart

      Tutorial Intermediate

      As a module developer, more often than not you’ll need to create a custom schema in your day-to-day OpenCart custom module development. It’s already...

    11. New Features in Laravel 5.2

      New Features in Laravel 5.2

      Tutorial Advanced

      In this article, I will take a look at the new features of Laravel 5.2 and describe them one by one.

    12. How to Program With Yii2: Uploading Files

      How to Program With Yii2: Uploading Files

      Tutorial Intermediate

      Learn how to manage file and image uploads in Yii2 with the easiest to use plugins. We'll upgrade our mini-Twitter application with Kartik's FileInput Widget...