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. Object-Oriented Programming in WordPress: Control Structures I

      Object-Oriented Programming in WordPress: Control Structures I

      Tutorial Beginner

      WordPress is a powerful CMS that provides a flexible foundation on which to build both sites and applications. If you want to extend WordPress functionality,...

    2. Refactoring Legacy Code: Part 2 - Magic Strings & Constants

      Refactoring Legacy Code: Part 2 - Magic Strings & Constants

      Tutorial Beginner

      Learn techniques for how to deal with complex and complicated unknown legacy code, how to understand it, and finally updating the Golden Master tests.

    3. 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...

    4. Securely Handling User's Login Credentials

      Securely Handling User's Login Credentials

      Tutorial Beginner

      Consider the following tips on how to properly secure your user's login credentials.

    5. Laravel Unwrapped: Session, Auth and Cache

      Laravel Unwrapped: Session, Auth and Cache

      Tutorial Beginner

      Join me as we learn how to use Laravel's component-based system, Illuminate. Additionally, we'll see how to utilize service providers, Laravel's manager...

    6. 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...

    7. SOLID: Part 4 - The Dependency Inversion Principle

      SOLID: Part 4 - The Dependency Inversion Principle

      Tutorial Beginner

      The Single Responsibility (SRP), Open/Closed (OCP), Liskov Substitution, Interface Segregation, and Dependency Inversion. Five agile principles that should...

    8. Setting Up a Local Mirror for Composer Packages With Satis

      Setting Up a Local Mirror for Composer Packages With Satis

      Tutorial Intermediate

      Installing all your PHP libraries with Composer is a great way to save time. But larger projects automatically tested and run at each commit to your software...

    9. SOLID: Part 3 - Liskov Substitution & Interface Segregation Principles

      SOLID: Part 3 - Liskov Substitution & Interface Segregation Principles

      Tutorial Beginner

      The Single Responsibility (SRP), Open/Closed (OCP), Liskov Substitution, Interface Segregation, and Dependency Inversion. Five agile principles that should...

    10. Validation and Exception Handling: From the UI to the Back End

      Validation and Exception Handling: From the UI to the Back End

      Tutorial Intermediate

      Sooner or later in your programming career you will be faced with the dilemma of validation and exception handling. This was the case with me and my team...

    11. SOLID: Part 2 - The Open/Closed Principle

      SOLID: Part 2 - The Open/Closed Principle

      Tutorial Intermediate

      Single Responsibility (SRP), Open/Closed (OCP), Liskov's Substitution, Interface Segregation, and Dependency Inversion. Five agile principles that should...

    12. AngularJS and Laravel: Begin Building a CRM

      AngularJS and Laravel: Begin Building a CRM

      Tutorial Beginner

      When creating a single-page app we should use some kind of framework to do some of the job for us, so we can focus on the actual functionality. AngularJS...