<commit_before>php-owasp-zap-v2
================

PHP client API for OWASP ZAP

All API class files (except Zapv2.php) are generated automatically using `PhpAPIGenerator.java` offered by [yukisov/php-api-generator-for-owasp-zap](https://github.com/yukisov/php-api-generator-for-owasp-zap).

##Getting Started

1. Add following lines to composer.json in your PHP project.

  ```
  {
    ...
    "require": {
  	  ...
  	  "yukisov/php-owasp-zap-v2": ">=0.1.0",
      ...
  	}
    ...
  }
  ```

2. `$ php composer.phar install/update`

##Usage
Example:

```php
<?php

require "vendor/autoload.php";<commit_msg>Replace tabs with spaces in README.md<commit_after>php-owasp-zap-v2
================

PHP client API for OWASP ZAP

All API class files (except Zapv2.php) are generated automatically using `PhpAPIGenerator.java` offered by [yukisov/php-api-generator-for-owasp-zap](https://github.com/yukisov/php-api-generator-for-owasp-zap).

##Getting Started

1. Add following lines to composer.json in your PHP project.

  ```
  {
    ...
    "require": {
      ...
      "yukisov/php-owasp-zap-v2": ">=0.1.0",
      ...
    }
    ...
  }
  ```

2. `$ php composer.phar install/update`

##Usage
Example:

```php
<?php

require "vendor/autoload.php";
{'fraction_non_alphanumeric': 0.1823293172690763, 'fraction_numerical': 0.01285140562248996, 'mean_word_length': 2.9430379746835444, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5573844', 'n_tokens_mistral': 485, 'n_tokens_neox': 471, 'n_words': 96}