Skip to content

Commit

Permalink
added readme.md
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pecha <[email protected]>
  • Loading branch information
janpecha committed Jul 27, 2013
1 parent c6c4e22 commit 8d11644
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Dependency-PHP
==============

PHP class for dependency resolving.

Usage
-----

``` php
<?php
$resolver = new Cz\Dependency;
$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']
```


Installation
------------

[Download a latest package](https://github.com/czproject/dependency-php/releases) or use [Composer](http://getcomposer.org/):

```
composer require czproject/dependency-php
```

Dependency-PHP requires PHP 5.3.0 or later and ....


------------------------------

License: [New BSD License](license.md)
<br>Author: Jan Pecha, http://janpecha.iunas.cz/

0 comments on commit 8d11644

Please sign in to comment.