This repository contains some fun and useful programming algorithms written in PHP. The focus is on simplicity and understandability of the code.
To install CoolPhpAlgorithms, simply clone the repository on your computer:
To use the algorithms, just include the corresponding file in your PHP application. For example, to use the A* algorithm, just include the file a_star.php
:
includes `a_star.php`;
A* (a_star.php) - An intelligent search algorithm that finds the shortest path between two points in a graph.
If you would like to contribute to this project, please send a pull request with your changes. I will be happy to review and incorporate your changes if I feel they are useful to the repository.
This project is released under the MIT license.