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. Acceptance Testing With Codeception

      Acceptance Testing With Codeception

      Tutorial Beginner

      Typically new features for web applications are tested by visiting the appropriate page in a browser, maybe filling out some form data, submitting the...

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

    3. BDD With Behat

      BDD With Behat

      Tutorial Beginner

      The BDD PHP framework Behat, allows you to test your PHP applications using human-readable sentences to write features and scenarios about how your...

    4. Sending Emails With Laravel 4 & Gmail

      Sending Emails With Laravel 4 & Gmail

      Tutorial Beginner

      Sending emails is crucial for any web application. Usually, an email is sent to notify the user of some kind of activity that has taken place on the site,...

    5. SOLID: Part 1 - The Single Responsibility Principle

      SOLID: Part 1 - The Single Responsibility Principle

      Tutorial Beginner

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

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

    7. Statamic 101

      Statamic 101

      Tutorial Beginner

      Statamic is a modern PHP CMS which really makes an effort to be easy and intuitive to use. From its flat-file design to its use of technologies like Markdown...

    8. The Repository Design Pattern

      The Repository Design Pattern

      Tutorial Beginner

      The Repository Design Pattern, defined by Eric Evens in his Domain Driven Design book, is one of the most useful and most widely applicable design patterns...

    9. Deploying a Laravel Application Using Capistrano

      Deploying a Laravel Application Using Capistrano

      Tutorial Beginner

      So you've just built a fancy web application and you're planning to put it online. This can be done in many ways. In this article I'd like to cover one...

    10. Authentication With Laravel 4

      Authentication With Laravel 4

      Tutorial Intermediate

      Authentication is required for virtually any type of web application. In this tutorial, I'd like to show you how you can go about creating a small...

    11. Money Pattern: The Right Way to Represent Value-Unit Pairs

      Money Pattern: The Right Way to Represent Value-Unit Pairs

      Tutorial Intermediate

      The Money Pattern, defined by Martin Fowler and published in Patterns of Enterprise Application Architecture, is a great way to represent value-unit pairs....

    12. 25 Laravel Tips and Tricks

      25 Laravel Tips and Tricks

      Tutorial Intermediate

      There was a period of time, not too long ago, when PHP and its community were, for lack of better words, hated. Seemingly, the headline joke of every day was...