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. Building Your Startup: Securing an API

      Building Your Startup: Securing an API

      Tutorial Intermediate

      Building and customizing REST APIs is simple, but securing the usage of your secret application keys and verifying the authenticity of requests requires...

    2. Try Our Course on PHP Design Patterns With a Free Trial

      Try Our Course on PHP Design Patterns With a Free Trial

      Tutorial Beginner

      In our comprehensive course, PHP Design Patterns, Envato Tuts+ instructor Jeremy McPeak will walk you through some of the most fundamental design patterns...

    3. How to Zip and Unzip Files in CodeIgniter

      How to Zip and Unzip Files in CodeIgniter

      Tutorial Beginner

      CodeIgniter is one of the popular frameworks among the plethora of PHP frameworks in the world of web development. It’s been continuously improved since its...

    4. Programming With Yii2: Building Community With Voting, Comments, and Sharing

      Programming With Yii2: Building Community With Voting, Comments, and Sharing

      Tutorial Intermediate

      Learn how to build your own social platform with Yii integrating plugins to support Disqus comments, up and down voting, and Twitter and Facebook sharing.

    5. How to Work With Session Data in CodeIgniter

      How to Work With Session Data in CodeIgniter

      Tutorial Beginner

      This article explains the basics of session handling in the CodeIgniter framework. CodeIgniter comes with a built-in session library that acts as a wrapper...

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

    7. Using the Twitter API to Tweet Repetitive Content

      Using the Twitter API to Tweet Repetitive Content

      Tutorial Intermediate

      Twitter's API has various undocumented restrictions that sometimes block attempts to automate a fun bot or a serious marketing effort. Learn ways to succeed...

    8. Building Your Startup: Leveraging Bootstrap, Ajax, and jQuery

      Building Your Startup: Leveraging Bootstrap, Ajax, and jQuery

      Tutorial Intermediate

      As I found time to polish Meeting Planner more deeply, I relied on CSS and JavaScript to add more interactive features such as easily scheduling with...

    9. How to Handle Errors & Exceptions in the Yii Framework

      How to Handle Errors & Exceptions in the Yii Framework

      Tutorial Intermediate

      Reacting and responding to errors is critical for a positive user experience and iterative product enhancement. Never easy in PHP, but better in Yii. Learn...

    10. Building Your Startup With PHP: Bootstrap Your Home Page

      Building Your Startup With PHP: Bootstrap Your Home Page

      Tutorial Intermediate

      Learn how to make your home page more professionally aesthetic and effective by exploiting Bootstrap more thoroughly.

    11. How to Make Your First Route in Laravel 5

      How to Make Your First Route in Laravel 5

      Tutorial Beginner

      In this video tutorial from my course Get Started With Laravel 5, you'll learn how to handle your first request with your first route in Laravel 5!

    12. Building With the Twitter API: Analyzing Your Followers

      Building With the Twitter API: Analyzing Your Followers

      Tutorial Intermediate

      Twitter social engagement is often weak. Learn how to investigate how many of your followers are real people vs. bots and how many are likely to ever see...