Skip to content

TheAlgorithmsPHP

All Algorithms implemented in PHP

Repository stars
2,672 Star
All-time
#22,434 all time
Fork
588 Fork
Repository created
since 2020
Language
PHP
License
MIT
Commercial use OKMIT; keep the license notice
Recently updatedLast push 20 days ago

About

README

PHP collects common algorithm and data structure examples written in PHP, mainly for algorithm education.

It covers various computational tasks for developers to reference common algorithm implementations. These examples may be less efficient than the PHP standard library and are better suited to learning than performance-critical use.

Summarized by AI from the README · As of 2026-12-02, TheAlgorithms/PHP had 2,672 stars. According to the 2026-12-02 record, TheAlgorithms/PHP is catalogued under Interviews & Algorithms. A permissive license allows commercial use under its terms. The last push was on 2026-11-12. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data

Raw observations · 15
Historical observations
Measured atRepository starsSource
2026-12-02 01:47 UTC2,672Source
2026-12-01 02:25 UTC2,671Source
2026-11-30 01:40 UTC2,670Source
2026-11-29 01:38 UTC2,670Source
2026-11-28 01:39 UTC2,669Source
2026-11-27 01:41 UTC2,669Source
2026-11-26 01:43 UTC2,669Source
2026-11-25 12:01 UTC2,669Source
2026-11-12 03:07 UTC2,669Source
2026-11-11 02:46 UTC2,668Source
2026-11-10 02:00 UTC2,667Source
2026-11-09 01:47 UTC2,666Source
2026-11-08 01:44 UTC2,665Source
2026-11-07 16:16 UTC2,665Source
2026-11-06 09:39 UTC2,665Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/php-thealgorithms.svg)](https://github.day/resources/php-thealgorithms?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 01:47 UTCSourceLicense source

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.