Skip to content

Repository files navigation

Dependency-PHP

Build StatusDownloads this MonthLatest Stable VersionLicense

PHP class for dependency resolving.

Donate

Installation

Download a latest package or use Composer:

composer require czproject/dependency-php

Dependency-PHP requires PHP 8.0 or later.

Usage

$resolver = newCzProject\DependencyPhp\Resolver;
$resolver->add('x', array('a', 'b'))
->add('a', array('b', 'c'))
->add('b', 'd')
->add('c', array('d'));
$resolver->getResolved(); // returns ['d', 'b', 'c', 'a', 'x']

License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/

About

PHP class for dependency resolving.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages