graphp/graph
Graphp/graph is a PHP graph data structure library for building and traversing graphs of vertices and edges. Create directed or undirected graphs, attach attributes, and run common algorithms like shortest paths, cycles, and connectivity for analysis and visualization.
Feature Development:
Roadmap Acceleration:
Build vs. Buy:
Use Cases (unchanged, but now with reduced friction):
Adopt When:
Look Elsewhere When:
For Executives: "GraPHP is now fully compatible with PHP 8.1, making it a seamless choice for modern Laravel applications that need graph-powered features—like recommendation engines, network visualizations, or dependency resolution—without the cost of custom development. The latest release includes bug fixes for vertex ID handling and GitHub Actions CI, reducing integration risks. It’s a lightweight, MIT-licensed solution that accelerates time-to-market for graph-heavy functionalities while keeping our stack PHP-native. The trade-off? We still avoid the complexity of external graph databases, but the package is now more reliable for PHP 8.1+ environments. Ideal for scaling features like social networks or route optimization."
For Engineering: "GraPHP v0.9.3 is now PHP 8.1-compatible, fixing vertex ID generation for string-based IDs and adding GitHub Actions CI for better stability. This makes it a stronger choice for Laravel 9+ projects needing graph algorithms (Dijkstra, A, etc.) out of the box. Key benefits:
How can I help you explore Laravel packages today?