Topics
- How PHP works (Server-side vs Client-side)
- Setting up XAMPP/Laragon environment
- Syntax, Comments, and Case Sensitivity
- Variables, Constants, and Data Types
- NEW PHP CLI (Command Line Interface)
Practice Tasks
- Set up local server environment
- Write first "Hello World" script
Outcome: Understand PHP execution flow.
Topics
- Operators (Arithmetic, Comparison, Logical)
- Conditionals (if, elseif, switch, match)
- Loops (for, while, foreach)
- Break, Continue, and Nested Loops
- NEW Null Coalescing Operator (
??)
Practice Tasks
- Build a simple calculator
- Generate dynamic multiplication table
Outcome: Control program flow logic.
Topics
- Function Arguments & Return Types
- Variable Scope (Global vs Local)
- Built-in String Functions (explode, implode, strlen)
- NEW Strict Types (
declare(strict_types=1))
- NEW Arrow Functions (fn)
Practice Tasks
- Create a reusable utility library
- Manipulate strings for user input
Outcome: Write modular, typed functions.
Topics
- Indexed, Associative, Multidimensional Arrays
- Array Functions (array_map, array_filter, merge)
- Superglobals (
$_GET, $_POST)
- Sessions (
$_SESSION) & Cookies
- NEW Array Destructuring
Practice Tasks
- Build a simple contact form handler
- Create a shopping cart structure
Outcome: Handle complex data & user input.
Topics
- Reading/Writing Files (fopen, fwrite)
- File Uploads (
$_FILES) & Validation
- Form Validation & Sanitization
- NEW
json_encode & json_decode
Practice Tasks
- Create a file uploader with type check
- Store form data in a text/json file
Outcome: Manage file systems and uploads.
Topics
- Classes, Objects, Properties, Methods
- Constructors & Destructors
- Access Modifiers (public, private, protected)
- Inheritance & Polymorphism
- NEW Interfaces & Abstract Classes
- NEW Static Methods & Properties
Practice Tasks
- Build a Class-based Login System
- Implement payment gateway interface
Outcome: Write scalable OOP code.
Topics (Crucial for Laravel)
- NEW Namespaces & use keyword
- NEW Composer & Dependency Management
- NEW Autoloading (PSR-4)
- NEW Traits (Code Reuse)
Practice Tasks
- Install a package via Composer (e.g. PDF generator)
- Structure project with Namespaces
Outcome: Ready for Modern Frameworks.
Topics
- Relational Database Concepts
- NEW PDO vs MySQLi (Focus on PDO)
- Database Connection & Errors
- SQL Basics (SELECT, INSERT, UPDATE, DELETE)
- Prepared Statements (Security)
Practice Tasks
- Connect PHP application to MySQL
- Securely insert user data
Outcome: Interact with Databases securely.
Topics
- Create: Insert data into DB
- Read: Fetch and display data
- Update: Edit existing records
- Delete: Remove records safely
- Pagination logic
Practice Tasks
- Build a full "Student Management System"
- Implement edit/delete functionality
Outcome: Build dynamic data-driven apps.
Topics (Professional)
- SQL Injection Prevention (Prepared Stmts)
- XSS (Cross-Site Scripting) Protection
- Password Hashing (
password_hash)
- NEW Building Simple REST API
- NEW CSRF Protection Concepts
Practice Tasks
- Secure a login system
- Create a JSON API endpoint
Outcome: Build Secure & API-ready apps.
Project Options
- E-commerce Backend: Cart, Order, Products
- Blog System: Posts, Categories, Comments
- User Dashboard: Auth, Profile, Settings
Requirements
- MVC (Model View Controller) Structure
- Secure Auth & Database
- Composer & Autoloading
Outcome: Job-ready Backend Developer.
Topics
- Introduction to Laravel (Routes, Controllers)
- Using cURL for API calls
- Sending Emails (PHPMailer)
- Deploying PHP Apps (CPanel/VPS)