Tutorial for PAMI to use PHP for your Asterisk PBX Telephony applications

For an in-depth tutorial, read "Getting Started with the PAMI: PHP Asterisk Manager Interface = Easy Asterisk Monitoring".


  • PHP 5.3.3+ (Note that 5.3.9 and 5.3.10 WONT WORK because of a bug in stream_get_line(), please use 5.3 or 5.4 excluding 5.3.9 and 5.3.10, also, see: README.PHP-5.3.9-and-5.3.10)
  • Extensions: sockets

Installing with composer

Just add the package "marcelog/pami":

    "require": {
        "marcelog/pami": "dev-master"

Packagist URL: