%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/phpro/grumphp/doc/tasks/ |
Upload File : |
# 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.