PHPackages                             wehup/asterisk-ami - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wehup/asterisk-ami

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wehup/asterisk-ami
==================

Wehup Asterisk AMI

1682[2 issues](https://github.com/wehup/asterisk-ami/issues)PHP

Since Dec 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wehup/asterisk-ami)[ Packagist](https://packagist.org/packages/wehup/asterisk-ami)[ RSS](/packages/wehup-asterisk-ami/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Asterisk AMI
============

[](#asterisk-ami)

PHP 5.3 abstraction of Asterisk 1.6 AMI

Installation
------------

[](#installation)

Add to your `composer.json`:

```
    {"require":{
        "wehup/asterisk-ami": "dev-master"
    }}
```

Run:

```
    composer install
```

Usage
-----

[](#usage)

```
    // Create the LoginRequest
    $loginRequest = new \Wehup\AMI\Request\LoginRequest('username', 'password');

    // Create the Manager
    $manager = new \Wehup\AMI\Manager('127.0.0.1', 8088, 'asterisk', $loginRequest);

    // Create the request
    $request = new \Wehup\AMI\Request\PingRequest();

    // Send request
    $response = $manager->send($request);
```

Supported commands
------------------

[](#supported-commands)

- [Command](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Command)
- [DBDel](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_DBDel)
- [DBDelTree](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_DBDelTree)
- [DBGet](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_DBGet)
- [DBPut](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_DBPut)
- [Hangup](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Hangup)
- [ListCommands](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_ListCommands)
- [Login](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Login)
- [Ping](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Ping)
- [QueueAdd](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_QueueAdd)
- [QueueRemove](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_QueueRemove)
- [QueueStatus](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_QueueStatus)
- [QueuePause](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_QueuePause)
- [SIPpeers](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_SIPpeers)
- [SIPshowpeer](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_SIPshowpeer)
- [UserEvent](https://wiki.asterisk.org/wiki/display/AST/ManagerAction_UserEvent)

Are you missing support to an useful command? Open an [issue](https://github.com/wehup/asterisk-ami/issues/new), so we can add it.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![daleffe](https://avatars.githubusercontent.com/u/6420032?v=4)](https://github.com/daleffe "daleffe (53 commits)")[![kassner](https://avatars.githubusercontent.com/u/301255?v=4)](https://github.com/kassner "kassner (39 commits)")

### Embed Badge

![Health badge](/badges/wehup-asterisk-ami/health.svg)

```
[![Health](https://phpackages.com/badges/wehup-asterisk-ami/health.svg)](https://phpackages.com/packages/wehup-asterisk-ami)
```

PHPackages © 2026

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