Skip to content
rajan21045Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

67 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

PHP: Hypertext Preprocessor

A personal learning repository for PHP — code snippets, exercises, mini-projects, notes, and resources.
I'll push whatever I learn about PHP here so I can refer back, show progress, and build a portfolio.


🆎 What is PHP?

  • Full form: PHP stands for "Hypertext Preprocessor".
  • History: Originally, in 1994, PHP stood for "Personal Home Page" when it was created by Rasmus Lerdorf. As it evolved into a powerful server-side scripting language, the name became a recursive acronym: PHP: Hypertext Preprocessor.

📌 What this repo is for

  • A place to store PHP examples, small projects, exercises, and notes.
  • Learn-by-doing: each folder contains a short description and runnable code.
  • Track progress with a simple learning log.

🚀 Getting started (quick)

  1. Install PHP (if not already). On most systems:
    • macOS (Homebrew): brew install php
    • Windows: install from php.net or use XAMPP/WAMP
    • Linux (Debian/Ubuntu): sudo apt install php
  2. Run a script:
php path/to/script.php
  1. For web examples, use PHP’s built-in server: php -S localhost:8000 -t public/ then open http://localhost:8000

🙋 How to contribute (if you want others to help)

1.	Fork the repo
2.	Create branch feat/your-thing
3.	Add code + README.md in the relevant folder
4.	Open a PR with description of what you added and why

📚 Resources I use

•	Official PHP docs (php.net) — keep as my primary reference
•	Local notes in resources/ (books, links, tutorials)

🎯 Goals & roadmap

  1. Short-term:

    • Understand PHP syntax, arrays, functions, OOP basics
    • Learn working with forms, sessions, cookies
  2. Mid-term:

    • CRUD app with PDO and prepared statements
    • Simple MVC pattern exploration
  3. Long-term:

    • Build a small portfolio project (blog, task manager)
    • Learn Composer & dependency management

🪪 License

This repo is for personal learning. Use code freely but please add attribution if you copy large parts.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages