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

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

hamkaran/pami
=============

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

v3.0.3(today)07↑2900%Apache-2.0PHPPHP ^8.4CI passing

Since Jan 28Pushed today1 watchersCompare

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

READMEChangelogDependencies (4)Versions (14)Used By (0)

PAMI
====

[](#pami)

PAMI (PHP Asterisk Manager Interface) is an event-driven, object-oriented PHP client for the [Asterisk Manager Interface (AMI)](https://docs.asterisk.org/Configuration/Interfaces/Asterisk-Manager-Interface-AMI/). It can send AMI actions and consume AMI events, making it a useful foundation for operator consoles, monitoring tools, and real-time telephony applications.

About this continuation
-----------------------

[](#about-this-continuation)

This repository is a maintained, modernized continuation of the original [PAMI project](https://marcelog.github.io/PAMI/) by Marcelo Gornstein. The original project's authorship and Apache-2.0 license remain fully credited. This version is maintained by [Hamkaran Cloud Telephony](https://hamkaran.cloud).

The maintained source repository is [github.com/amir200xven/PAMI](https://github.com/amir200xven/PAMI).

What's new
----------

[](#whats-new)

- **CDR events:** PAMI can now represent Asterisk Call Detail Record events through `PAMI\Message\Event\CdrEvent`.
- **PHP 8.4+:** version 3 is designed for PHP 8.4 and newer releases; the library, dependencies, test suite, and development tooling have been modernized accordingly.
- **Modern PSR-3 support:** applications can use `psr/log` 1.x, 2.x, or 3.x.

Requirements
------------

[](#requirements)

- PHP 8.4 or later
- Composer
- Access to an Asterisk server with an enabled AMI account

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

[](#installation)

Install PAMI with Composer:

```
composer require hamkaran/pami:^3.0
```

Quick start
-----------

[](#quick-start)

```
