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. Building a Welcome Page for Your WordPress Product: WP Transients API

      Building a Welcome Page for Your WordPress Product: WP Transients API

      Tutorial Beginner

      When it comes to building a web app with WordPress, its powerful APIs provide a great deal of help. Adding or retrieving any data with the Options API is not...

    2. Process Payments With Stripe and Laravel Cashier: HTTP vs. HTTPS

      Process Payments With Stripe and Laravel Cashier: HTTP vs. HTTPS

      Tutorial Beginner

      In this short video tutorial, I’ll look at how and when we should be using a secure connection when processing payments with Stripe and Laravel Cashier. I’ll...

    3. Migration to Magento 2: Migrating the Site

      Migration to Magento 2: Migrating the Site

      Tutorial Beginner

      As we have done some planning work for Magento migration in the previous article. In this article, we’ll dig little deep into the technical details of the...

    4. 8 Practical Laravel Courses for PHP Developers

      8 Practical Laravel Courses for PHP Developers

      Tutorial Beginner

      If you want to learn Laravel, or if you already use the framework and want to take your knowledge to a new level, check out these eight courses, which will...

    5. Building Your Startup: Customizing the Meeting View

      Building Your Startup: Customizing the Meeting View

      Tutorial Intermediate

      It's time to complete the view for meetings where the functionality needs to differ based on the access level of who's interacting with it, the meeting...

    6. Using PHP CodeSniffer With WordPress: Installing and Using the WordPress Rules

      Using PHP CodeSniffer With WordPress: Installing and Using the WordPress Rules

      Tutorial Beginner

      In this article, I assume you're a WordPress developer and you're interested in getting PHP CodeSniffer configured such that it can sniff out any problems in...

    7. Create a Custom API in OpenCart

      Create a Custom API in OpenCart

      Tutorial Intermediate

      Since the introduction of OpenCart 2.x, you'll find plenty of exciting features included in the core. One of them is the inclusion of REST API support that...

    8. Create a 'Conversation' Banner With Revolving Text in WordPress: Part 1

      Create a 'Conversation' Banner With Revolving Text in WordPress: Part 1

      Tutorial Beginner

      Sliders are often used for images, but you can use them for text too. Here I'll show you how to create a slider with two blocks of text to create a...

    9. Using PHP CodeSniffer With WordPress: Installing and Using PHP CodeSniffer

      Using PHP CodeSniffer With WordPress: Installing and Using PHP CodeSniffer

      Tutorial Beginner

      In this article, we're going to take a look at what PHP CodeSniffer is, how to install it, and how to run it against a couple of different scripts. Then...

    10. Using the Mailgun Store(): A Temporary Mailbox for Your App's Incoming Email

      Using the Mailgun Store(): A Temporary Mailbox for Your App's Incoming Email

      Tutorial Intermediate

      Mailgun's routing and API make it easy to build applications that efficiently and reliably process, parse and react to inbound messages. Learn how to use its...

    11. Using Laravel Valet for WordPress Development

      Using Laravel Valet for WordPress Development

      Tutorial Intermediate

      In this tutorial, we're going to look at how to set up Laravel Valet for WordPress and set up an installation that we can use for local development.

    12. How to Rewrite Custom URLs in OpenCart

      How to Rewrite Custom URLs in OpenCart

      Tutorial Intermediate

      In this article, we are going to explore how you could create custom SEO-friendly URLs in OpenCart. OpenCart provides it for all core modules, but for custom...