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.
Added new major version supporting now PHP 8 thanks to @sminnee in #8! This will drop support for PHP < 7.3.
There are no new features or bug fixes, as this library is feature-complete. So if you use PHP < 7.3 you can keep using the old 1.1.0 version.
Added SameTypeExtraGrouping feature.
Fixed bug where you can only call sort() once. Removed GroupedFixedArraySort due its inefficient implementation
Hi
How can I help you explore Laravel packages today?