Free PHP Learning Resources
Learn PHP
Section titled “Learn PHP”- Seven-day PHP starter plan covers a first script, a form, and a small project.
- PHP for HTML and CSS developers takes a static form through to a server-rendered page.
- PHP for WordPress users explains PHP through familiar theme and plugin code.
- PHP glossary explains common terms with short examples.
- Which PHP version should I use? helps you pick a version for a new or existing project.
- Compare local and hosted PHP walks through version, extension, and configuration differences.
- Read an unfamiliar PHP codebase helps you trace a request and make a small change.
- PHP team onboarding covers a first run, test, and change in a project.
- A first PHP script in Spanish is a beginner lesson you can run in your browser.
Practise a skill
Section titled “Practise a skill”- PHP examples by task helps you find a CSV, array, date, or JSON example.
- Offline PHP Basics exercises includes downloadable exercises and solutions.
- PHP behaviour comparisons lets you predict the output and check it across versions.
- Printable PHP array reference covers the operations you’ll use most.
- Sample data for PHP exercises provides the same fictional records in CSV, JSON, and SQLite.
- Debugging challenges gives you broken examples, hints, and solutions.
- PHP troubleshooting by error message helps when your own code fails.
- PHP and SQLite reading list is a small project you can run locally.
Teach or finish a project
Section titled “Teach or finish a project”- PHP teaching resources collects workshop and project materials.
- Follow a PHP request from the browser through PHP and SQLite and back.
- Run PHP tests in GitHub Actions with a small example and a PHP version matrix.
- Teach a 45-minute SQLite workshop with setup instructions, exercises, and answers.
- Check your finished project with steps you can run in PHP Basics and the Laravel CRM course.
- Choose your next PHP project after finishing a course.
Read how Code with PHP maintains its tutorials, follow site updates, or contribute an example.