PHPackages                             nao-sec/anyrun-api - 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. nao-sec/anyrun-api

ActiveLibrary[API Development](/categories/api)

nao-sec/anyrun-api
==================

ANY.RUN API Wrapper for PHP

v0.1(6y ago)7121MITPHPPHP &gt;=7.0

Since May 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nao-sec/anyrun-api)[ Packagist](https://packagist.org/packages/nao-sec/anyrun-api)[ RSS](/packages/nao-sec-anyrun-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ANY.RUN API Wrapper for PHP
===========================

[](#anyrun-api-wrapper-for-php)

Official document is

Requirement
-----------

[](#requirement)

- PHP (&gt;= 7.0)
    - PHP-cURL
- Composer

Setup
-----

[](#setup)

```
$ composer require nao-sec/anyrun-api

```

Usage
-----

[](#usage)

```
require_once 'vendor/autoload.php';
```

```
// API Key
$anyrun = new ANYRUN\Client('API Key');

// Basic Auth
$anyrun = new ANYRUN\Client('Username', 'Password');
```

### Get history

[](#get-history)

```
print_r($anyrun->get_history());
```

### Get report

[](#get-report)

```
print_r($anyrun->get_report('AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE'));
```

### Run new analysis

[](#run-new-analysis)

```
// // file
print_r($anyrun->post_analysis('aaa.bin', ['obj_type' => 'file']));

// // url
print_r($anyrun->post_analysis("https://example.com", ['obj_type' => 'url']));

// // download url
print_r($anyrun->post_analysis("http://127.0.0.1/bbb.exe", ['obj_type' => 'download']));
```

### Request aavairable environment

[](#request-aavairable-environment)

```
print_r($anyrun->get_env());
```

### Request user's limits

[](#request-users-limits)

```
print_r($anyrun->get_limits());
```

LICENSE
-------

[](#license)

This library is open-sourced software licensed under the [MIT License](LICENSE)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

2551d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e9524d191cea265d4f7ae1ed792d8a4d4e98d930053f2c0e6aa23b078982dcb?d=identicon)[koike](/maintainers/koike)

---

Top Contributors

[![koike](https://avatars.githubusercontent.com/u/7844329?v=4)](https://github.com/koike "koike (3 commits)")

### Embed Badge

![Health badge](/badges/nao-sec-anyrun-api/health.svg)

```
[![Health](https://phpackages.com/badges/nao-sec-anyrun-api/health.svg)](https://phpackages.com/packages/nao-sec-anyrun-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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