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
    1. How to Create a Simple Event Calendar for Your PHP Website

      How to Create a Simple Event Calendar for Your PHP Website

      Tutorial Beginner

      In this post, we’re going to review the Events Calendar script, which allows you to add event calendars to your PHP website. It’s a ready-to-use tool which...

    2. Build a Shopping Cart With PHP and MySQL

      Build a Shopping Cart With PHP and MySQL

      Tutorial Advanced

      For this week’s screencast + tutorial, we’re going to teach you how to build your own shopping cart with PHP and MySQL. As you’ll find, it’s not quite as...

    3. Object-Oriented PHP With Classes and Objects

      Object-Oriented PHP With Classes and Objects

      Tutorial Beginner

      In this article, we'll explore the basics of object-oriented programming in PHP. Learn how to use PHP classes and objects, properties, and methods, as well...

    4. Understand Arrays in PHP

      Understand Arrays in PHP

      Tutorial Beginner

      In this post, you'll learn the basics of arrays in PHP. You'll learn how to create an array and how to use associative and multidimensional arrays, and...

    5. Getting Started With MySQL

      Getting Started With MySQL

      Tutorial Intermediate

      In this article, you'll learn everything you need for getting started with MySQL, an open-source database that powers content management systems like...

    6. How to Install Laravel on Windows

      How to Install Laravel on Windows

      Tutorial Beginner

      Laravel is a PHP framework that is used to build Laravel applications. This tutorial shows you how to install Laravel with XAMMP on Windows.

    7. Top 20 Most Usable Content Management Systems

      Top 20 Most Usable Content Management Systems

      Tutorial Beginner

      There are plenty of options and CMS systems examples for a development project. In this list, I'll share the top 20 examples of CMS available today.

    8. Learn Laravel

      Learn Laravel

      Tutorial Beginner

      Laravel is one of the most popular frameworks for building web applications. In this post I'll share some of the best resources for learning Laravel.

    9. Build a React App With a Laravel RESTful Back End: Part 1, Laravel 9 API

      Build a React App With a Laravel RESTful Back End: Part 1, Laravel 9 API

      Tutorial Intermediate

      This tutorial teaches you how to create a web application with React for the front-end and Laravel for the back-end. We will be building a resourceful...

    10. Examples of Dependency Injection in PHP With Symfony Components

      Examples of Dependency Injection in PHP With Symfony Components

      Tutorial Intermediate

      In this article, we'll look at some examples of using the Symfony DependencyInjection component. You'll learn the basics of dependency injection, which...

    11. Get Started With CRUD Operations in PHP MySQL Databases

      Get Started With CRUD Operations in PHP MySQL Databases

      Tutorial Beginner

      In this article, we're going to explore how you could use a MySQL database to perform CRUD (create, read, update, and delete) operations with PHP. If you...

    12. How to Use the Symfony Filesystem Component

      How to Use the Symfony Filesystem Component

      Tutorial Beginner

      In this article, we're going to explore the Symfony Filesystem component, which provides useful methods to interact with a file system. After installation...