This is a submission for the 2025 Hacktoberfest Writing Challenge: Maintainer Spotlight
Tags:
#hacktoberfest2025 #opensource #php #leetcode #algorithms #maintainerspotlight
Hey there, open-source enthusiasts!
Iβm Md. Ariful Haque, a Technical Lead from Dhaka, Bangladesh π§π© β passionate about PHP, algorithms, and building educational resources for developers.
For Hacktoberfest 2025, I want to highlight a project thatβs close to my heart β LeetCode in PHP β an open-source collection of algorithmic problem solutions written in pure PHP.
This repository aims to help developers practice and learn data structures and algorithms using PHP, a language often underrepresented in algorithm discussions.
π‘ Why I Started This Project
Most coding challenge solutions online are written in Python, Java, or C++ β but PHP developers also need a way to strengthen their problem-solving skills.
So, I decided to build:
- A centralized, beginner-friendly collection of LeetCode-style problems solved in PHP.
- Each problem includes well-documented explanations, step-by-step breakdowns, and optimized code.
- A platform where contributors can collaborate, learn, and teach PHP algorithms together.
π§© What Youβll Find Inside
The repo currently includes:
- β Solutions to classic algorithmic problems (e.g., combinations, recursion, backtracking, dynamic programming).
- β Readable code written in PHP, ideal for legacy systems and learners.
-
β Each solution file includes:
- Problem description
- Example inputs/outputs
- Step-by-step comments
- Time and space complexity
β Organized structure by problem type (e.g., arrays, strings, graphs, DP, etc.)
π€ How to Contribute
Whether youβre new to open source or an experienced developer, your contribution matters!
Hereβs how to get started:
- Fork the repository
git clone https://github.com/mah-shamim/leet-code-in-php.git
cd leet-code-in-php
Pick a problem from the issues tab or suggest a new one.
Write your PHP solution, following the structure used in other files.
Add documentation/comments so others can learn from your code.
Submit a Pull Request (PR) β and youβre officially a Hacktoberfest contributor π
π·οΈ Contribution Guidelines
- Use PHP for consistency.
- Include problem name, example, and explanation in comments.
- Keep code readable and properly indented.
- Avoid external libraries β pure PHP solutions only.
- Add your name and GitHub handle at the end of your solution file.
π Why You Should Contribute
- π» Improve your problem-solving and PHP coding skills
- π€ Be part of a global open-source learning initiative
- π Earn Hacktoberfest 2025 contribution credit
- π§ Help others understand algorithms through clear explanations
π§βπ» Maintainerβs Vision
βOpen source isnβt just about sharing code β itβs about sharing knowledge.β
My goal is to make algorithmic thinking accessible to PHP developers worldwide.
By contributing, youβre helping build a living library of PHP problem-solving patterns that can help learners for years to come.
π Project Repository
π GitHub Repo: mah-shamim/leet-code-in-php
β Donβt forget to star the project if you find it useful!
π Special Thanks
Huge thanks to everyone participating in Hacktoberfest 2025!
Your pull requests, ideas, and enthusiasm help make open source thrive.
If youβd like to collaborate or have feedback, connect with me on:
- π Buy Me a Coffee
- πΌ GitHub Profile
- π¬ DEV Profile
Top comments (1)
This is really impressive! Love how youβre making PHP accessible for algorithm learners and creating a solid open-source resource. The step-by-step solutions and clear structure make it super beginner-friendly, awesome work!