Skip to content

Commit

Permalink
prepare for v0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mamuz committed Nov 16, 2014
1 parent cabe909 commit e9cb17e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## v0.1.0-beta
## v0.1.0

- Fix detecting in IocContainerAccessorCollector
- Fix providing UsedNamespacing in ADT entity
Expand Down
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,28 @@ After installing [`GraphViz`](http://www.graphviz.org/) the recommended way to i
```json
{
"require-dev": {
"mamuz/php-dependency-analysis": "0.0.*"
"mamuz/php-dependency-analysis": "0.1.*"
}
}
```

## Features

- Providing high customizing level
- Dependency graph creation on customized levels respectively different scopes
- Dependency graph creation on customized levels respectively different scopes and layers
- Supports Usage-Graph, Call-Graph and Inheritance-Graph
- Dependencies can be aggregated to a package, a module or a layer
- Detecting cycles and violations between layers in a tiered architecture
- Printing graphs in several formats (HTML, SVG, DOT)
- Adding user-defined detection plugins
- Adding user-defined output plugins for printing graphs
- Supports collecting namespaces from [`IoC-Containers`](http://en.wikipedia.org/wiki/Inversion_of_control)
- Supports collecting [`PHP-Superglobals`](http://php.net/manual/en/language.variables.superglobals.php) as a dependency
- Supports collecting PHP-Statements, which cannot be resolved, like `create_function` or `eval`
- Supports collecting namespaces, which are declared in DocBlocks
- Supports collecting strings, which looks like a namespace
- Extandable by adding user-defined plugins for collecting and printing of dependencies

## Configuration

This tool is configurable by a [`YAML`](http://en.wikipedia.org/wiki/YAML) file.
You can copy a prepared file from the vendor directory.

```sh
cp ./vendor/mamuz/php-dependency-analysis/phpda.yml ./myconfig.yml
cp ./vendor/mamuz/php-dependency-analysis/phpda.yml.dist ./myconfig.yml
```

See [prepared configuration](https://github.com/mamuz/PhpDependencyAnalysis/blob/master/phpda.yml.dist)
Expand All @@ -71,7 +67,7 @@ and read the [Configuration-Chapter](https://github.com/mamuz/PhpDependencyAnaly
Run this command line to create a dependecy graph:

```sh
./vendor/bin/phpda analyze /path/to/myconfig.yml
./vendor/bin/phpda analyze ./myconfig.yml
```

After that open created report file with your prefered tool.
Expand Down
2 changes: 1 addition & 1 deletion src/Command/MessageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

interface MessageInterface
{
const VERSION = 'dev-master';
const VERSION = 'v0.1.0';

const NAME = 'PhpDependencyAnalyse by Marco Muths';

Expand Down

0 comments on commit e9cb17e

Please sign in to comment.