PHPackages                             inok/phpagi - 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. inok/phpagi

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

inok/phpagi
===========

PHPAGI is a PHP class for the Asterisk Gateway Interface.

1.0.3(10mo ago)069LGPL-2.1-or-laterPHPPHP &gt;=7.0 || ~8.0.0

Since Mar 19Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/nchizhov/inok-phpagi)[ Packagist](https://packagist.org/packages/inok/phpagi)[ Docs](http://blog.kgd.in)[ RSS](/packages/inok-phpagi/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

PHPAGI README
-------------

[](#phpagi-readme)

[![License](https://camo.githubusercontent.com/f3a1caee0b54734852d934649e4769f7b6502936aa50544ee5f5f64a0a46dc50/68747470733a2f2f706f7365722e707567782e6f72672f696e6f6b2f7068706167692f6c6963656e7365)](https://packagist.org/packages/inok/phpagi)[![License](https://camo.githubusercontent.com/7e7186f9c0de1b73827934f43c8ac44ecc4691b0d357db52fe376bc7f8ab899b/68747470733a2f2f706f7365722e707567782e6f72672f696e6f6b2f7068706167692f762f737461626c65)](https://packagist.org/packages/inok/phpagi)[![License](https://camo.githubusercontent.com/def869675655f261f1901f88991b4e0c46a52f0d04a11ec54e326263f1775177/68747470733a2f2f706f7365722e707567782e6f72672f696e6f6b2f7068706167692f642f6d6f6e74686c79)](https://packagist.org/packages/inok/phpagi)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3fe614557faa9562e2e2e6a5964db5dbc9cb44fa4c47655f9befd466275d1361/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e6368697a686f762f696e6f6b2d7068706167692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nchizhov/inok-phpagi/?branch=master)

**This library is fork of .**

Welcome to PHPAGI.

phpagi is a set of PHP classes for use in developing applications with the Asterisk Gateway Interface, and is licensed under the GNU Lesser General Public License (see COPYING for terms).

This release (version 2) of the phpagi classes is a significant overhaul from the old version 1 library. API functions have been renamed and restructured.

Version 1 of phpagi is no longer supported, but will continue to be available for historical purposes. We strongly encourage you to migrate to this new version.

If you have developed software based around phpagi, we'd like to hear from you! Drop us a note, and indicate whether you'd like us to list your application on our website.

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

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
$ composer require inok/phpagi
```

FILES
-----

[](#files)

- phpagi.php - The main phpagi class.
- phpagi-asmanager.php - The Asterisk Manager class.
- phpagi-fastagi.php - FastAGI class.
- docs/ - README files for the classes.
- api-docs/ - API Documentation (html)

DOCS
----

[](#docs)

- README.phpagi - The main phpagi README
- README.phpagi-asmanager - The phpagi asterisk manager README
- README.phpagi-fastagi - phpagi fastagi README
- CHANGELOG - Change Log.
- phpagi.conf - An example configuration file for phpagi.
- fastagi.xinetd - xinetd.conf sample configuration for fastagi

SUPPORT
-------

[](#support)

Support for phpagi is available from the project website.

-

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance54

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~524 days

Total

4

Last Release

312d ago

### Community

Maintainers

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

---

Tags

asteriskamiagi

### Embed Badge

![Health badge](/badges/inok-phpagi/health.svg)

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

###  Alternatives

[marcelog/pami

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

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

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

2952.3k](/packages/chan-sccp-pami)[ofbeaton/phpami

Asterisk Manager Interface (AMI) for PHP 5.4+ supporting legacy v1.4 to v13 with no thrills.

1637.3k](/packages/ofbeaton-phpami)[pharaonic/php-dot-array

Access array data quickly/easily using dot-notation and asterisk.

1011.6k3](/packages/pharaonic-php-dot-array)

PHPackages © 2026

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