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

    1. Twig Template Engine for PHP

      Twig Template Engine for PHP

      Course Beginner

      Embedding HTML in your PHP is one of the worst decisions you can make. Not only is it a pain to write, it's also a pain to maintain. If you use a...

    2. Create a REST API With Phalcon

      Create a REST API With Phalcon

      Course Beginner

      Phalcon is a full-stack PHP framework packed with the same features as all the rest, but with one important difference: Phalcon is the fastest PHP framework...

    3. Get Started With Lumen

      Get Started With Lumen

      Course Beginner

      Lumen is the fast new PHP micro-framework from the Laravel project. It allows you to use the power of Laravel, including the Eloquent ORM and features such...

    4. Process Payments With Stripe and Laravel Cashier

      Process Payments With Stripe and Laravel Cashier

      Course Intermediate

      Stripe is a payment-processing service that comes with a suite of easy-to-use APIs and powers e-commerce for businesses of all sizes. Stripe makes it easy to...

    5. Build a Static Site Generator Using SPL Iterators

      Build a Static Site Generator Using SPL Iterators

      Course Intermediate

      In PHP, we're all familiar with the foreach, for, do-while, and while looping constructs, which help us quickly and easily iterate over data structures in...

    6. Building Multitenant Apps in Laravel

      Building Multitenant Apps in Laravel

      Course Advanced

      Multitenant apps are all over the web, but tackling your first one can be challenging. This course walks you through developing a multitenant application...

    7. Understanding Apache and htaccess

      Understanding Apache and htaccess

      Course Advanced

      In this course we'll look at what we need to do to install and configure Apache 2.4.7. We'll also review many of the things that you'll likely want to do...

    8. PHP Object Oriented Programming Fundamentals

      PHP Object Oriented Programming Fundamentals

      Course Intermediate

      We’ve received a number of requests from experienced PHP developers looking to take their skills to the next level with object-oriented programming, and this...

    9. Use Composer

      Use Composer

      Course Intermediate

      In this course, join Radek Benkel in a journey through the Composer world. Upon completion, you should have a fluent understanding of one of PHP's defining...

    10. Build an eCommerce App in Laravel

      Build an eCommerce App in Laravel

      Course Intermediate

      In an earlier course, Andrew Perkins showed you how to take a PSD design, and turn it into HTML and CSS. Now he's back to teach you how to take that...

    11. Magento Fundamentals

      Magento Fundamentals

      Course Intermediate

      Magento can be a tricky thing to figure out because it’s one of the most complex PHP systems out there. Thing is, you can learn how to use it properly, you...

    12. Object-Oriented Design in PHP

      Object-Oriented Design in PHP

      Course Intermediate

      Object-oriented design can offer a developer a structured way to break apart an application into logical, maintainable chunks. In this course Matthew...