mbsoft31/graph-algorithms
PHP 8.2+ graph algorithms built on nexus-scholar/graph-core. Includes PageRank and degree centrality, Dijkstra and A* shortest paths, BFS/DFS traversal, Tarjan SCC, topological sort with cycle detection, and minimum spanning tree utilities via typed APIs.
CitationAnalyzerService) without monolithic code. Supports typed value objects (PathResult, MstResult) for clean API design.Adopt only if:
nexus-scholar/graph-core dependency.PathResult, MstResult) to integrate with existing workflows.Avoid if:
nexus-scholar/graph-core (e.g., legacy PHP versions or incompatible graph data models).For Executives: *"This package accelerates feature delivery for network-driven products by providing production-ready graph algorithms—eliminating the need to hire specialized engineers or build from scratch. Key opportunities:
For Engineers: *"This is a productivity multiplier for graph-heavy projects. Highlights:
AlgorithmGraph.PathResult), and Pest testing.PathfindingAlgorithmInterface).
Example: Replace a custom BFS with (new Bfs())->traverse($graph, 'startNode')—done. Handles edge cases like cycles or disconnected graphs automatically."*For Product Managers: *"This package unlocks strategic features without overloading the team:
How can I help you explore Laravel packages today?