PHPackages                             gcarrilao/php-openvas-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. gcarrilao/php-openvas-manager

ActiveLibrary[API Development](/categories/api)

gcarrilao/php-openvas-manager
=============================

Middleware between PHP and OpenVas Manager Protocol

v1.0.x-dev(6y ago)4361gpl-3.0PHPPHP &gt;=5.6.0

Since Aug 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gcarrilao/OpenvasManagerPHP)[ Packagist](https://packagist.org/packages/gcarrilao/php-openvas-manager)[ RSS](/packages/gcarrilao-php-openvas-manager/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Openvas PHP Communicator
------------------------

[](#openvas-php-communicator)

A middleware between a PHP application and Openvas Manager Protocol.

### Authors

[](#authors)

Federico Carrilao : Facundo Gregorini :

### Complexity

[](#complexity)

Exist a defined complexity between simples and complex xml's. All querys are created with reflection. If the query doesnt have parameters it's not necesary specific the complexity.

#### without complexity

[](#without-complexity)

```

```

```
print_r($ov->get_version());
```

#### false, simple query example

[](#false-simple-query-example)

```

```

```
$options= array(
	"complexity" => False,
	"report_id" => "92a80a0a-bf25-4927-ae99-f8a9d5e3ed9d",
);

print_r($ov->get_reports($options));
```

#### true, complex query example

[](#true-complex-query-example)

```

  Scan Webserver
  Hourly scan of the webserver

  All GNU/Linux machines
  192.168.1.0/24

```

```
$options= array(
		"complexity" => true,
		"name" => "New task",
		"comment" => "Test Task",
		"target" => array( "id" =>"0aeba03c-86cb-477b-9656-d4fe9cff6c60"),
		"config" => array( "id" =>"74db13d6-7489-11df-91b9-002264764cea"),
);
print_r($ov->create_task($options));

$options= array(
	"complexity" => true,
	"name" => "Maquina 2",
	"hosts" => "192.168.1.196",
);

print_r($ov->create_target($options));
```

### Use mode

[](#use-mode)

The methods work as follows: The \_\_call method was redefined. When a method does not exist in php it is redirected to \_\_call. This method is able to identify how the xml query should be assembled according to its complexity, and sent to the OpenvasManager. The answer is received in xml and transforms it into PHP objects. There is a unique method defined "get\_report\_csv" to get the result of a report in csv.

#### Get version

[](#get-version)

```
$ov = new OpenvasManager("localhost","9390","admin","admin");

print_r($ov->get_version());
```

#### Get targets

[](#get-targets)

```
print_r($ov->get_targets());
```

#### Get specific target

[](#get-specific-target)

```
$options= array(
	"complexity" => false,
	"target_id" => "2e0b354e-c410-4dd6-90ba-b71156887838",
);

print_r($ov->get_targets($options));
```

#### Create target

[](#create-target)

```
$options= array(
	"complexity" => true,
	"name" => "Maquina 2",
	"hosts" => "192.168.1.196",
);

print_r($ov->create_target($options));
```

#### Create task

[](#create-task)

```
$options= array(
		"complexity" => true,
		"name" => "New task",
		"comment" => "Test Task",
		"target" => array( "id" =>"0aeba03c-86cb-477b-9656-d4fe9cff6c60"),
		"config" => array( "id" =>"74db13d6-7489-11df-91b9-002264764cea"),
);
print_r($ov->create_task($options));
```

#### Start task

[](#start-task)

```
$options= array(
		"task_id" => "225eee06-b029-4bed-8b83-ab4cf7943a63",
);
print_r($ov->start_task($options));
```

#### Get report

[](#get-report)

```
$options= array(
	"complexity" => False,
	"report_id" => "92a80a0a-bf25-4927-ae99-f8a9d5e3ed9d",
);

print_r($ov->get_reports($options));
```

#### Get report in CSV

[](#get-report-in-csv)

```
$ov->get_report_csv("92a80a0a-bf25-4927-ae99-f8a9d5e3ed9d");
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/841b06061bd3481996d4c843990d9f6be2a473b59eaaafbef4fc47391f4b902c?d=identicon)[gcarrilao](/maintainers/gcarrilao)

![](https://www.gravatar.com/avatar/cb04e1c51028a42d392471adc7f43aa00fb608857ac225e6a59da857b6b75be7?d=identicon)[FacundoGregorini](/maintainers/FacundoGregorini)

---

Top Contributors

[![gcarrilao](https://avatars.githubusercontent.com/u/29376890?v=4)](https://github.com/gcarrilao "gcarrilao (8 commits)")[![FacundoGregorini](https://avatars.githubusercontent.com/u/37718734?v=4)](https://github.com/FacundoGregorini "FacundoGregorini (4 commits)")

### Embed Badge

![Health badge](/badges/gcarrilao-php-openvas-manager/health.svg)

```
[![Health](https://phpackages.com/badges/gcarrilao-php-openvas-manager/health.svg)](https://phpackages.com/packages/gcarrilao-php-openvas-manager)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
