PHPackages                             leonjza/php-nessus-ng - 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. leonjza/php-nessus-ng

AbandonedArchivedLibrary[API Development](/categories/api)

leonjza/php-nessus-ng
=====================

PHP wrapper functions for interfacing with the Nessus V6.x API

1.0.8(9y ago)153.3k9[1 issues](https://github.com/leonjza/PHPNessusNG/issues)MITPHPPHP &gt;=5.6.0

Since Jul 8Pushed 9y ago3 watchersCompare

[ Source](https://github.com/leonjza/PHPNessusNG)[ Packagist](https://packagist.org/packages/leonjza/php-nessus-ng)[ RSS](/packages/leonjza-php-nessus-ng/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (21)Used By (0)

PHPNessusNG
===========

[](#phpnessusng)

[![Build Status](https://camo.githubusercontent.com/e4de2040870f038b945157f6a75012fb5eeb80c2ab27a7b0a45a22e0ebc34256/68747470733a2f2f7472617669732d63692e6f72672f6c656f6e6a7a612f5048504e65737375734e472e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/leonjza/PHPNessusNG)[![Code Climate](https://camo.githubusercontent.com/8055f3c340d009316cbec17d0fb5260398c565ca8321f4e7b5c6528794618b6c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6c656f6e6a7a612f5048504e65737375734e472f6261646765732f6770612e737667)](https://codeclimate.com/github/leonjza/PHPNessusNG)[![Latest Stable Version](https://camo.githubusercontent.com/2386cf4012946a4d7992ce3d64472ed891888b13deec63d687f48d28e30e1d81/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6e65737375732d6e672f762f737461626c652e737667)](https://packagist.org/packages/leonjza/php-nessus-ng)[![Total Downloads](https://camo.githubusercontent.com/5ed3b8973551c735eb1729e8f0329128ad5df99f696c8dcfcd0b557d8e42463f/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6e65737375732d6e672f646f776e6c6f6164732e737667)](https://packagist.org/packages/leonjza/php-nessus-ng)[![Latest Unstable Version](https://camo.githubusercontent.com/1472bfaf77524ce2be32a53e9f91ee1b4f2fe8fbd469e3df58327dcf1871980f/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6e65737375732d6e672f762f756e737461626c652e737667)](https://packagist.org/packages/leonjza/php-nessus-ng)[![License](https://camo.githubusercontent.com/d2db932bd741a96dfa27f8a361b4f8b944f1227d82703a04066d10792c271001/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6e65737375732d6e672f6c6963656e73652e737667)](https://packagist.org/packages/leonjza/php-nessus-ng)

PHP wrapper functions for interfacing with the Nessus **V6.x** API.

If you are looking for the Nessus V5.x capable XMLRPC API Class, please see the `n5` branch [here](https://github.com/leonjza/PHPNessusNG/tree/n5)

Information:
------------

[](#information)

The Nessus 6 Vulnerability Scanner provides a RESTful API interface. This library aims to be a wrapper around this API, allowing you to query it directly, as detailed in the API documentation.

One major advantage of this library is that it does not necessarily have to update when new endpoints are made available. It is simply a wrapper. Calls to the API can be made exactly as it is documented in the API reference found at the `/api` resource of your local scanner. For eg. If a API endpoint is defined as:

```
DELETE /scans/{scan_id}

```

Then you can call it with:

```
$client->scans($id)->via('delete');
```

The latest version of this wrapper has only been tested against a Nessus **6.1** scanner.

Concepts:
---------

[](#concepts)

There are a fair number of ways to use this library. All methods start the same way though; Instantiating a new instance. The library will handle the authentication cookie automatically internally.

Some examples of calling the API:

```
