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. PHP for Beginners: Free 7-Hour Course

      PHP for Beginners: Free 7-Hour Course

      Course Beginner

      The go-to free course for beginners to learn the fundamentals of PHP programming. Everything from if statements to MySQL in one course.

    2. Build a REST API With Laravel

      Build a REST API With Laravel

      Course Beginner

      Laravel lets you easily and quickly build RESTful APIs. This could be the back-end to a front-end web app, a data source for a mobile app, or a service for...

    3. Get Started With Laravel 8

      Get Started With Laravel 8

      Course Beginner

      Laravel is an easy-to-learn framework for building web applications. It has become hands-down the most popular framework for writing apps with PHP. Now that...

    4. PHP Fundamentals

      PHP Fundamentals

      Course Beginner

      Learn the fundamentals of PHP and object-oriented programming in this free PHP tutorial. Jeremy McPeak will help you learn PHP and use it to write web apps. ...

    5. Practice PHP and Learn: Databases

      Practice PHP and Learn: Databases

      Course Intermediate

      If you already know the basics of the PHP language and have created some simple scripts or applications, you might be wondering about your next step. To keep...

    6. Build a CMS With Laravel

      Build a CMS With Laravel

      Course Intermediate

      Laravel is a PHP framework for modern web apps. Now on version 5, it’s a mature system that continues to win support due to its elegance and stability....

    7. Build an App With GraphQL, Laravel, and Vue

      Build an App With GraphQL, Laravel, and Vue

      Course Intermediate

      RESTful APIs have many issues. They can require multiple round trips to multiple endpoints in order to fetch related data, and they're prone to over or under...

    8. Practice PHP and Learn: File Handling

      Practice PHP and Learn: File Handling

      Course Beginner

      If you want to create a PHP application, chances are that you'll need to read and write files sooner or later. Whether you're reading a config file or...

    9. 3 Practical Examples to Learn Laravel

      3 Practical Examples to Learn Laravel

      Course Beginner

      Laravel is the most popular PHP application framework, and there are countless tutorials, articles, and yes, even videos on how to get started with and learn...

    10. PHP Design Patterns

      PHP Design Patterns

      Course Intermediate

      Design patterns are the lifeblood of object-oriented programming. They are solutions to problems that every developer faces with just about every application...

    11. How It Works: Laravel Eloquent ORM

      How It Works: Laravel Eloquent ORM

      Course Advanced

      Laravel's Eloquent object-relational mapper (ORM) is one of the most-loved features of the framework. Eloquent makes it easy to connect to relational data in...

    12. Authentication With Laravel

      Authentication With Laravel

      Course Intermediate

      Authentication is extremely important, and as a result, authentication is extremely difficult to get right. But Laravel's built-in authentication system...