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 content:

    1. Laravel, BDD and You: Let’s Get Started

      Laravel, BDD and You: Let’s Get Started

      Tutorial Intermediate

      Welcome to this series about developing Laravel applications using a behavior-driven development (BDD) approach. Full stack BDD can seem complicated and...

    2. Create a Custom Page in OpenCart

      Create a Custom Page in OpenCart

      Tutorial Intermediate

      Working with any open source framework or CMS, as a developer you'll always come up with the million dollar question, how do I create my own custom page...

    3. AngularJS and Laravel: Finishing Building a CRM

      AngularJS and Laravel: Finishing Building a CRM

      Tutorial Beginner

      In this part of the tutorial, we will build the front-end of our application using AngularJS. Angular is a really unique framework. Instead of abstracting...

    4. PHP 5.6: What's New

      PHP 5.6: What's New

      Tutorial Beginner

      It's been a long time coming, but we finally have a new version of PHP. It offers some nice new features and improvements, while other features have been...

    5. Creating a Custom WordPress Registration Form Plugin

      Creating a Custom WordPress Registration Form Plugin

      Tutorial Intermediate

      Out-of-the-box, WordPress provides a custom registration form that can be used to setup a new user, or to add a new user when adding them to an existing...

    6. Creating Maintainable WordPress Meta Boxes: The Layout

      Creating Maintainable WordPress Meta Boxes: The Layout

      Tutorial Intermediate

      In the first post, we looked at the initial directory structure and setup the basic code required to get a plugin running in WordPress. In this post, we're...

    7. Create a Custom Theme With OpenCart: Part Four

      Create a Custom Theme With OpenCart: Part Four

      Tutorial Beginner

      In the previous articles in this series, we divided the templates provided by the OpenCart into three different categories in order to understand the role of...

    8. How to Build Rate Limiting into Your Web App Login

      How to Build Rate Limiting into Your Web App Login

      Tutorial Intermediate

      Apple's failure to rate limit iCloud logins likely contributed to celebrity photo hacking. Here's how to protect your own apps.

    9. Custom Layouts and Templates With Magento

      Custom Layouts and Templates With Magento

      Tutorial Beginner

      In the first part of this series, we learned the basics of Magento module development including the Magento directory structure, custom module structure and...

    10. Refactoring Legacy Code - Part 10: Dissecting Long Methods with Extractions

      Refactoring Legacy Code - Part 10: Dissecting Long Methods with Extractions

      Tutorial Intermediate

      Today, we will take another approach: We will assume we are alone, no colleague or pair to help us. We will use a technique called "Extract till you drop"...

    11. Create a Custom Theme With OpenCart: Part Three

      Create a Custom Theme With OpenCart: Part Three

      Tutorial Beginner

      In the previous part of this series, we learned how to create a custom theme and enable it from the back-end of OpenCart. We also studied how the template...

    12. New Course: Getting Started With Laravel 4

      New Course: Getting Started With Laravel 4

      Tutorial Beginner

      If you're ready to begin learning Laravel, this course will cover all the basics to get you ready to go. And you can get started straight away with a free 14...