marcj/topsort
Fast PHP topological sort/dependency resolver. Add string nodes with dependencies and get a valid processing order; includes grouped sorting to keep same-type items together and retrieve group metadata. Useful for UoW, DI, package managers, etc.
marcj/topsort is a fast PHP topological sort / dependency resolver for ordering items so all prerequisites come first—ideal for package loading, DI graphs, and Unit of Work workflows. It includes both standard sorting and grouped sorting, letting you keep items of the same type together when batching operations.
How can I help you explore Laravel packages today?