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. Parsing HTML With PHP Using DiDOM

      Parsing HTML With PHP Using DiDOM

      Tutorial Beginner

      This tutorial will teach you how to parse HTML using the DiDOM library in PHP. You will learn how to find a particular element in an HTML document and how to...

    2. Authentication and Authorization Using Auth0 in PHP

      Authentication and Authorization Using Auth0 in PHP

      Tutorial Intermediate

      In this article, we're going to explore the Auth0 service, which provides authentication and authorization as a service. Auth0 allows you to set up basic...

    3. Boost Your Website Performance With PhpFastCache

      Boost Your Website Performance With PhpFastCache

      Tutorial Beginner

      In this article, we're going to explore the PhpFastCache library, which allows you to implement caching in your PHP applications. Thus, it helps to improve...

    4. New Course: Connect to a Database With Laravel's Eloquent ORM

      New Course: Connect to a Database With Laravel's Eloquent ORM

      Tutorial Beginner

      In our new course, Connect to a Database With Laravel's Eloquent ORM, you'll learn all about Eloquent, which makes it easy to connect to relational data in a...

    5. Testing in Laravel

      Testing in Laravel

      Tutorial Beginner

      Irrespective of the application you're dealing with, testing is an important and often overlooked aspect that you should give the attention it deserves....

    6. New Course: Code a Single-Page App With Laravel and Vue.js

      New Course: Code a Single-Page App With Laravel and Vue.js

      Tutorial Beginner

      Learn how to build a single-page app with a Laravel back-end, using the cutting-edge Vue.js JavaScript framework.

    7. Deploy PHP Web Applications Using Laravel Forge

      Deploy PHP Web Applications Using Laravel Forge

      Tutorial Beginner

      Laravel Forge is an incredible tool for deploying PHP applications with ease. This tutorial introduces you to Laravel Forge and configuring it with AWS and...

    8. Start Learning PHP for WordPress in Our New Course

      Start Learning PHP for WordPress in Our New Course

      Tutorial Beginner

      In our new short course, Learn PHP for WordPress: First Steps, you'll learn how to take your WordPress skills to the next level by starting to learn PHP.

    9. Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io

      Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io

      Tutorial Intermediate

      This article will show you how to set up your web server for your Laravel application on Linode cloud hosting using the RunCloud.io server management tool.

    10. Newly Updated Course: Build a CMS With Laravel

      Newly Updated Course: Build a CMS With Laravel

      Tutorial Beginner

      Want to build your own content management system (CMS) in 2018? Learn exactly how it's done in our comprehensive course Build a CMS With Laravel, freshly...

    11. New Course: 3 Practical Examples to Learn Laravel

      New Course: 3 Practical Examples to Learn Laravel

      Tutorial Beginner

      Our new course, 3 Practical Examples to Learn Laravel, helps you master the Laravel PHP framework by building a series of practical applications.

    12. How to Manage Multiple Applications in CodeIgniter

      How to Manage Multiple Applications in CodeIgniter

      Tutorial Beginner

      Learn how to manage multiple applications in the CodeIgniter web framework using a single codebase. We'll create two CodeIgniter aps that share a codebase.