CODE A GRATIS GLOBAL SERVICE
⌕ SEARCH GRATIS GLOBAL ↗
FREE GUIDE

Learn PHP Programming Free

PHP still powers a huge share of the web, from WordPress to Laravel apps, and every resource below is free to learn from, no trial periods or paywalls. Work through a course or two, then start writing real scripts and lean on the practice sites and communities when you get stuck.

10 SECTIONS · 72 RESOURCES · STATUS: [ ALL LINKS FREE ]
► INSIDE THIS GUIDE 10 SECTIONS
01

Free Online PHP Courses

10 RESOURCES
Building Web Applications in PHP coursera.org

Free to audit university course from the University of Michigan covering PHP syntax, variables, arrays and error handling.

Building Database Applications in PHP coursera.org

Free to audit follow on course teaching how to connect PHP to MySQL using PDO.

Intro to PHP (Packt, Coursera) coursera.org

Free to audit beginner course for people with no PHP background at all.

Learn PHP (Codecademy skill path) codecademy.com

Free introductory course path covering variables, data types and how PHP fits into web development.

Learn PHP: Introduction codecademy.com

Free foundational module on PHP variables and string and number data types.

Learn Intermediate PHP codecademy.com

Free course on building dynamic apps with databases, file handling, APIs and setting up XAMPP.

PHP Tutorial (W3Schools) w3schools.com

Free self paced tutorial with a live code editor covering PHP basics through databases and sessions.

PHP Online Courses (Class Central) classcentral.com

Aggregator of free PHP MOOCs and video courses from many providers, good for finding more audit track options.

PHP course (SoloLearn) sololearn.com

Free mobile first interactive PHP course with in app code practice.

Free PHP Training Courses (Zend) zend.com

Free on demand video training modules from Zend covering core PHP topics.

02

Free PHP Video Lessons and YouTube Channels

8 RESOURCES
PHP For Beginners, 3+ Hour Crash Course (Traversy Media) youtube.com

Well known single video crash course covering PHP fundamentals through building a small PHP and MySQL app.

PHP Front to Back (Traversy Media playlist) youtube.com

Longer structured playlist covering PHP fundamentals through project work.

Traversy Media youtube.com

Channel with hundreds of free web development tutorials including PHP and Laravel courses.

Learn PHP The Right Way, Full Tutorial (Program With Gio) youtube.com

Very large free playlist taking learners from PHP basics to advanced topics.

PHP For Beginners, 2023 Edition (Laracasts) laracasts.com

Free beginner series teaching PHP variables, arrays and fundamentals for people new to programming.

PHP For Beginners, Complete Laracasts Course (YouTube mirror) youtube.com

Free YouTube upload of Laracasts PHP for Beginners course for people who prefer watching on YouTube.

How to Build a Website from Start to Finish, Free 5 Hour WordPress and PHP Course (freeCodeCamp) freecodecamp.org

Free 5 hour project based video course building a custom WordPress and PHP site.

PHP Tutorials (YouTube playlist) youtube.com

General free PHP tutorial playlist covering core language topics step by step.

03

Free Online PHP Tutorials

10 RESOURCES
PHP: The Right Way phptherightway.com

The canonical free community reference for modern PHP best practices and standards.

PHP: The Right Way (GitHub source) github.com

Open source repo behind PHP The Right Way, useful for browsing versioned content.

PHP Manual (official documentation) php.net

The authoritative free official PHP language reference maintained by the PHP project.

The PHP Handbook, Learn PHP for Beginners (freeCodeCamp) freecodecamp.org

Free long form written handbook introducing modern PHP 8 plus concepts.

Learn PHP Syntax, Comments, Variables and Data Types (freeCodeCamp) freecodecamp.org

Free article walking through core PHP syntax and data type fundamentals with examples.

What is PHP? How to Write Your First PHP Program (freeCodeCamp) freecodecamp.org

Free beginner article explaining what PHP is and walking through a first script.

PHP Tutorial, How to Setup PHP and XAMPP for Your Project (freeCodeCamp) freecodecamp.org

Free setup guide for installing PHP and XAMPP locally before starting a project.

PHP Tutorial (TutorialsPoint) tutorialspoint.com

Free comprehensive written tutorial covering PHP from installation through OOP and databases.

PHP Tutorial (W3Schools) w3schools.com

Widely used free tutorial with clear explanations and a try it yourself editor for every lesson.

DevDocs PHP documentation devdocs.io

Free fast searchable mirror of PHP official docs with offline support.

04

Free Online PHP Practice and Interactive Exercises

9 RESOURCES
PHP on Exercism exercism.org

Free track with over a hundred exercises and volunteer mentor feedback to help you write more idiomatic PHP.

PHP Practice Challenges (Edabit) edabit.com

Free bite sized PHP challenges with a gamified XP and achievement system, good for daily practice.

PHP Kata (Codewars) codewars.com

Free community built PHP exercises with in browser testing, ranked by difficulty.

Object Oriented PHP collection (Codewars) codewars.com

Free curated set of exercises specifically for practicing OOP concepts in PHP.

PHP Exercises (W3Schools) w3schools.com

Free multiple choice and fill in the blank exercises for each PHP topic in the W3Schools tutorial.

PHP Exercises, Practice Questions and Solutions (GeeksforGeeks) geeksforgeeks.org

Free practice questions with worked solutions spanning beginner to intermediate PHP topics.

PHP Exercises (W3Resource) w3resource.com

Free large set of PHP exercises with solutions organized by topic like arrays, strings and functions.

Learn PHP Exercises (W3Docs) w3docs.com

Free interactive PHP practice exercises and quizzes for hands on learning.

Practice PHP (CodeChef) codechef.com

Free interactive practice problems for PHP syntax and problem solving.

05

Free PHP Books and Documentation

7 RESOURCES
PHP: The Right Way (Leanpub) leanpub.com

Free to read PHP best practices guide available as a web page and downloadable ebook.

PHP: The Right Way (Internet Archive) archive.org

Free downloadable copy of the PHP The Right Way guide hosted on Internet Archive.

PHP Notes for Professionals (GoalKicker) books.goalkicker.com

Free community compiled PDF book built from Stack Overflow documentation content covering many PHP topics.

Free PHP Books (Online Programming Books) onlineprogrammingbooks.com

Curated list of free downloadable PHP ebooks covering Laravel, security, testing and fundamentals.

PHP eBook (riptutorial) riptutorial.com

Free community written ebook covering getting started with PHP, arrays, classes and objects.

Free Computer Books, PHP Programming section freecomputerbooks.com

Directory of free PHP lecture notes and books at varying levels.

PHP, MySQL, JavaScript and HTML5 All In One For Dummies (Internet Archive) archive.org

Free borrowable copy of a beginner friendly all in one web dev book including PHP chapters.

06

Free PHP IDEs, Editors and Developer Tools

7 RESOURCES
onlinephp.io onlinephp.io

Free browser based PHP sandbox to run code instantly across many PHP versions with no install.

PHP Playground (php-play.dev) php-play.dev

Free in browser PHP execution environment using WebAssembly, no server setup needed.

Online PHP Compiler (Programiz) programiz.com

Free simple online PHP editor and compiler for quick tests without installing anything.

PHP Online Compiler (W3Schools) w3schools.com

Free built in compiler paired with the W3Schools tutorial for editing and running PHP snippets.

Online PHP Compiler (myCompiler) mycompiler.io

Free browser PHP runner that works on desktop, tablet or phone with no setup.

CodeLobster IDE codelobster.com

Free portable PHP IDE with an integrated debugger, SQL manager and support for common frameworks.

Xdebug xdebug.org

Free open source PHP extension providing step debugging, stack traces and profiling.

07

Free PHP Podcasts

4 RESOURCES
php[podcast] from php[architect] phparch.com

Long running free podcast discussing PHP development topics, hosted by PHP Architect.

The Laravel Podcast laravelpodcast.com

Free podcast covering Laravel and broader PHP development news and discussion.

PHP Internals News podcasts.apple.com

Free podcast digging into PHP internals, RFCs and language implementation details.

The PHP Podcast (YouTube playlist) youtube.com

Free video and podcast playlist covering PHP community and development topics.

08

Free PHP Cheat Sheets and References

7 RESOURCES
PHP Cheat Sheet (Cheatography, DaveChild) cheatography.com

Free downloadable one page cheat sheet covering PHP functions, regex and date formatting.

PHP Cheat Sheet and Quick Reference (quickref.me) quickref.me

Free concise quick reference for common PHP syntax patterns.

Online PHP Cheat Sheet (htmlcheatsheet.com) htmlcheatsheet.com

Free interactive cheat sheet covering variable handling, control structures, databases and OOP.

PHP Cheat Sheet (Codemy.com) codemy.com

Free no signup required PHP quick reference sheet.

PHP Cheat Sheet, Every Built In Function and Constant You Need (Hackr.io) hackr.io

Free extensive reference covering arrays, strings, math, dates and OOP functions.

PHP-FIG PSR Standards php-fig.org

Free official listing of PHP Standard Recommendations used across the PHP ecosystem.

PHP-FIG PSR Standards Cheat Sheet (Cheatography) cheatography.com

Free condensed cheat sheet summarizing the PHP-FIG PSR standards.

09

Free PHP Communities and Help

4 RESOURCES
PHP Community Discord discord.com

Free Discord server for discussing PHP, frameworks and tools with other developers.

PHP DEVELOPERS Discord discord.com

Large free Discord community for PHP developers of all levels.

Laracasts Discuss forum laracasts.com

Free discussion forum where beginners can ask PHP questions and get help.

Codewars Kumite (PHP) codewars.com

Free collaborative code sharing and discussion space for PHP within the Codewars community.

10

Free PHP Project Ideas and Real-World Practice

6 RESOURCES
20 Best PHP Project Ideas and Topics For Beginners (upGrad) upgrad.com

Free article listing beginner through advanced PHP project ideas like calculators, to do apps and APIs.

PHP Projects (roadmap.sh) roadmap.sh

Free curated list of hands on PHP projects tied to roadmap.sh's PHP learning path.

php-projects-for-beginners-to-experts (GitHub) github.com

Free open source repo of PHP projects from beginner to expert level with instructions and code.

10 Best PHP Project Ideas For Beginners (GeeksforGeeks) geeksforgeeks.org

Free article with practical beginner project ideas such as a to do list, expense tracker and weather API.

PHP crash course project code (bradtraversy/php-crash) github.com

Free open source starter files and completed code for the Traversy Media PHP crash course project.

PHP projects to learn programming (Codementor DevProjects) codementor.io

Free guided real world PHP projects for hands on practice beyond tutorials.