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 2w ago

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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

2525d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29376890?v=4)[gcarrilao](/maintainers/gcarrilao)[@gcarrilao](https://github.com/gcarrilao)

![](https://avatars.githubusercontent.com/u/37718734?v=4)[Juan Facundo Gregorini](/maintainers/FacundoGregorini)[@FacundoGregorini](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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