# PHPArkitect

PHPArkitect helps you to keep your PHP codebase coherent and solid, by permitting to add some architectural constraint check to your workflow.
It lives under the `phparkitect` namespace and has following configurable parameters:

PhpArkitect doesn't support checking only the changed files.
It will always run on the directory specified in your config file.

## Composer
```bash
composer require --dev phparkitect/phparkitect
```

## Config
```yaml
# grumphp.yml
grumphp:
    tasks:
      phparkitect:
            config: ~
            target_php_version: ~
            stop_on_failure: ~ 
```

**config**

*Default: null*

With this parameter you can specify the path your project's configuration file.
By default PHPArkitect will search all rules in phparkitect.php located in the root of your project.

**target_php_version**

*Default: null*

With this parameter, you can specify which PHP version should use the parser.
This can be useful to debug problems and to understand if there are problems with a different PHP version.

**stop_on_failure**

*Default: null*

With this option the process will end immediately after the first violation.

# PHPArkitect

PHPArkitect helps you to keep your PHP codebase coherent and solid, by permitting to add some architectural constraint check to your workflow.
It lives under the `phparkitect` namespace and has following configurable parameters:

PhpArkitect doesn't support checking only the changed files.
It will always run on the directory specified in your config file.

## Composer
```bash
composer require --dev phparkitect/phparkitect
```

## Config
```yaml
# grumphp.yml
grumphp:
    tasks:
      phparkitect:
            config: ~
            target_php_version: ~
            stop_on_failure: ~ 
```

**config**

*Default: null*

With this parameter you can specify the path your project's configuration file.
By default PHPArkitect will search all rules in phparkitect.php located in the root of your project.

**target_php_version**

*Default: null*

With this parameter, you can specify which PHP version should use the parser.
This can be useful to debug problems and to understand if there are problems with a different PHP version.

**stop_on_failure**

*Default: false*

With this option the process will end immediately after the first violation.

Update phpArkitect default value for stop_on_failure to false
Update phpArkitect default value for stop_on_failure to false