Welcome to the PHP learning repository! 🚀
This project is a structured and hands-on documentation of my journey to learn PHP (Hypertext Preprocessor) — a powerful server-side scripting language used in web development.
This repository is designed for beginners and intermediate learners who want to explore PHP step-by-step, with examples, real-world use cases, and practical mini-projects.
This repository includes:
- Chapter-wise episodes: Each chapter covers a specific topic or concept.
- Practical code examples: Run and test everything locally.
- Learning objectives: Clear goals to guide each module.
- Mini projects: Apply what you’ve learned in real use cases.
Here’s a breakdown of the chapters/episodes included:
- Episode 03: Variables, Data Types, and Constants
- Episode 04: Operators in PHP
- Episode 05: Control Structures (if, else, switch)
- Episode 06: Loops in PHP (for, while, foreach)
- Episode 15: Working with Sessions
- Episode 16: Using Cookies in PHP
- Episode 17: Secure PHP Practices (SQL Injection, Hashing)
- Episode 22: Error Handling in PHP
- Episode 23: Working with APIs (cURL & file_get_contents)
- Episode 24: Introduction to Composer
- Episode 25: Introduction to Laravel (Optional)
| Project Name | Description |
|---|---|
contact-form |
PHP-based form with validation |
todo-app |
Basic to-do list using PHP and file system |
crud-app |
CRUD operations with MySQL |
auth-system |
User login & registration system |
- Clone the repository and open it in your code editor.
- Navigate episode by episode and practice the code.
- Run PHP files using
localhostvia XAMPP or any PHP server. - Document your learning by editing or adding your own notes.
If you’d like to contribute to this repo with corrections, suggestions, or improvements, feel free to fork and create a pull request!
Licensed under the MIT License
Let’s build dynamic websites and full-stack projects — one line of PHP at a time. 🌐🐘