PHPackages                             xrobau/pami - 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. xrobau/pami

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

xrobau/pami
===========

Fork of marcelog's Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented

v2.2(1y ago)11.9k2Apache-2.0PHPPHP &gt;=8.0

Since Feb 4Pushed 1y agoCompare

[ Source](https://github.com/xrobau/PAMI)[ Packagist](https://packagist.org/packages/xrobau/pami)[ Docs](http://marcelog.github.com/PAMI)[ RSS](/packages/xrobau-pami/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Introduction
============

[](#introduction)

PAMI means PHP Asterisk Manager Interface. As its name suggests its just a set of php classes that will let you issue commands to an ami and/or receive events, using an observer-listener pattern.

The idea behind this, is to easily implement operator consoles, monitors, etc. either via SOA or ajax.

A port for nodejs is available at: A port for erlang is available at:

Abandoned?
==========

[](#abandoned)

As the origin appears to be abandoned, I have forked it and added some things that I need.

PHP Versions
============

[](#php-versions)

Note: PAMI Requires PHP 8.0+

Installing
==========

[](#installing)

Add this library to your [Composer](https://packagist.org/) configuration. In composer.json:

```
  "require": {
    "xrobau/pami": "2.*"
  }
```

LICENSE
=======

[](#license)

Copyright 2016 Marcelo Gornstein

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

```
http://www.apache.org/licenses/LICENSE-2.0

```

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Thanks To
=========

[](#thanks-to)

- Jason Blank for helping in the debugging of the queue functionality and some other ami inconsistencies.
- Francesco Usseglio Gaudi, for help in debugging the Originate action.
- Matías Barletta, for the vgms support.
- Eli Hunter, for helping in bringing in tls compatibility.
- Freddy dafredmail at googlemail, for his help and testing environment to add dongle support.
- Joshua Elson for his help in trying and debugging in loaded asterisk servers.
- Jacob Kiers for his help in bringing in and testing async agi functionality, and CEL event support.
- Richard Baar for noticing the lack of eof support when reading from socket, the JabberEvent, and the ScreenName in JabberAction.
- Scot Opell for helping in debugging stream\_get\_line() in 5.3.9 and 5.3.10
- Brian (wormling) for trying and fixing bugs on asyncagi
- Henning Bragge for helping with newstate event and queues.
- mbonneau for ParkedCall and UnParkedCall events.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

Every ~1034 days

Total

2

Last Release

576d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/457798?v=4)[Rob Thomas](/maintainers/xrobau)[@xrobau](https://github.com/xrobau)

---

Top Contributors

[![marcelog](https://avatars.githubusercontent.com/u/527356?v=4)](https://github.com/marcelog "marcelog (332 commits)")[![thomasvargiu](https://avatars.githubusercontent.com/u/732012?v=4)](https://github.com/thomasvargiu "thomasvargiu (22 commits)")[![drakhar-mike](https://avatars.githubusercontent.com/u/3764278?v=4)](https://github.com/drakhar-mike "drakhar-mike (6 commits)")[![xrobau](https://avatars.githubusercontent.com/u/457798?v=4)](https://github.com/xrobau "xrobau (6 commits)")[![shinomontaz](https://avatars.githubusercontent.com/u/9953247?v=4)](https://github.com/shinomontaz "shinomontaz (6 commits)")[![cch99](https://avatars.githubusercontent.com/u/2806775?v=4)](https://github.com/cch99 "cch99 (5 commits)")[![mstyles](https://avatars.githubusercontent.com/u/1187931?v=4)](https://github.com/mstyles "mstyles (5 commits)")[![jacobkiers](https://avatars.githubusercontent.com/u/402504?v=4)](https://github.com/jacobkiers "jacobkiers (4 commits)")[![AlmogBaku](https://avatars.githubusercontent.com/u/98982?v=4)](https://github.com/AlmogBaku "AlmogBaku (3 commits)")[![StrikeForceZero](https://avatars.githubusercontent.com/u/983413?v=4)](https://github.com/StrikeForceZero "StrikeForceZero (2 commits)")[![richardfullmer](https://avatars.githubusercontent.com/u/384602?v=4)](https://github.com/richardfullmer "richardfullmer (1 commits)")[![Quosimadu](https://avatars.githubusercontent.com/u/10835161?v=4)](https://github.com/Quosimadu "Quosimadu (1 commits)")[![tomcastleman](https://avatars.githubusercontent.com/u/1532660?v=4)](https://github.com/tomcastleman "tomcastleman (1 commits)")[![wormling](https://avatars.githubusercontent.com/u/1608160?v=4)](https://github.com/wormling "wormling (1 commits)")[![pkirk](https://avatars.githubusercontent.com/u/417485?v=4)](https://github.com/pkirk "pkirk (1 commits)")

---

Tags

eventclientmanagermonitorasteriskamiactionvoiptelephony

### Embed Badge

![Health badge](/badges/xrobau-pami/health.svg)

```
[![Health](https://phpackages.com/badges/xrobau-pami/health.svg)](https://phpackages.com/packages/xrobau-pami)
```

###  Alternatives

[marcelog/pami

Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented

418773.0k1](/packages/marcelog-pami)[chan-sccp/pami

Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented (Fork)

2954.7k](/packages/chan-sccp-pami)[marcelog/pagi

Asterisk Gateway Interface (AGI) client for PHP, suitable to make telephony applications using call flow nodes

190137.8k19](/packages/marcelog-pagi)[wormling/phparia

Asterisk REST Interface (ARI) client for PHP.

419.8k](/packages/wormling-phparia)

PHPackages © 2026

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