mbsoft31/graph-core
Lightweight, dependency-free graph library for PHP 8.2+. Build directed/undirected graphs with node and edge attributes, fast adjacency lookups, subgraph views, and export to Cytoscape.js JSON, GraphML, and GEXF (XML exports require ext-dom).
The package now has a public GitHub repository (mbsoft31/graph-core), resolving prior legitimacy concerns. Architecture fit remains strong for Laravel/PHP projects requiring graph data structures, as it is framework-agnostic and modular. Integration feasibility is now highly viable, given the open-source nature, Composer compatibility, and active development (v1.1.0 release with changelog). Technical risks are moderate but manageable:
Stack fit: Excellent for Laravel/PHP projects needing graph algorithms (e.g., pathfinding, traversal, or network analysis). The package’s Composer installability and PSR-compliant design ensure seamless adoption. Migration path:
mbsoft31/graph-core via Composer (composer require mbsoft31/graph-core:^1.1).Graph, Node, Edge) with minimal refactoring if existing logic aligns with its abstractions.undirected_graph).Maintenance:
mbsoft31/graph-core stagnates, fork or migrate to alternatives (e.g., jenssegers/agent, graphp/neo4php).^1.1 in Composer for flexibility.
Ramp-up:How can I help you explore Laravel packages today?