Skip to content

ferdous-dev/php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 

Repository files navigation

PHP Core Concepts

A structured, beginner-friendly collection of PHP core concepts designed for use with Obsidian. These notes are organized by topic with clear examples, making them perfect for students, junior developers, or anyone revising PHP fundamentals.


πŸ“˜ Structure

The notes are divided into topic-wise markdown files. Each file contains concise explanations and live PHP examples.

βœ… Topics Covered

# Title Description
0 Basic Structure of PHP Introduction to PHP, tags, basic syntax structure
1 Syntax Overview of PHP syntax, including operators (arithmetic, logical, etc.).
2 Variables & Data Types How to declare variables and use different data types in PHP.
3 Control Structures Flow control using if, else, switch, loops like while, for, etc.
4 Functions Declaration, parameters, default values, return types, variadic, etc.
5 Data Structures Working with arrays, associative arrays, and basic data handling.
6 Standard Libraries Common built-in string, array, math, and utility functions in PHP.
7 Object-Oriented Features OOP principles: classes, objects, inheritance, constructors, encapsulation.
8 Error Handling Handling errors with try, catch, throw, and finally.
9 Input and Output Handling user input via forms and working with files (read/write).
10 Miscellaneous Sessions, cookies

🧠 Features

  • Written in Markdown β€” easy to read and portable across editors
  • Loaded with real PHP examples for each topic
  • Ideal for Obsidian (supports backlinks, graph view, tagging)
  • Good for interview prep, revision, or teaching others

πŸš€ How to Use

  1. Clone or download the repo:
   git clone https://github.com/ferdous-dev/php.git
  1. Open the folder in Obsidian, VS Code, or any markdown editor.
  2. Use the notes like a reference book β€” copy & run code snippets locally to practice.

🀝 Contributions

Have an idea to improve the notes? Found a mistake? PRs are welcome!

You can contribute:

  • More examples
  • PHP 8.x/8.1+ feature notes
  • Real-world mini challenges

πŸ“œ License

MIT License β€” feel free to use, share, or modify these notes.


✨ Author

Created by Ferdous Ahmed
PHP learner & aspiring Laravel developer
πŸ‡§πŸ‡© Based in Bangladesh

About

PHP Resource

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published