PHPackages                             mdc/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. [HTTP &amp; Networking](/categories/http)
4. /
5. mdc/phpagi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mdc/phpagi
==========

PHPAGI is a PHP class for the Asterisk Gateway Interface. The package is available for use and distribution under the terms of the GNU Public License.

1.2.0(1y ago)03721LGPL-2.0-or-laterPHPPHP &gt;=7.2

Since Sep 13Pushed 1y agoCompare

[ Source](https://github.com/zakima/phpagi)[ Packagist](https://packagist.org/packages/mdc/phpagi)[ Docs](http://phpagi.sourceforge.net/)[ RSS](/packages/mdc-phpagi/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (5)Used By (0)

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

[](#phpagi-readme)

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 3) of the phpagi classes is a significant overhaul from the old version 1 and 2 library. API functions have been renamed and restructured.

Version 1 and 2 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.

FILES
-----

[](#files)

- AGI.php - The main phpagi class.
- AGIAsteriskManager.php - The Asterisk Manager class.
- phpagi-fastagi.php - FastAGI class.

SUPPORT
-------

[](#support)

Support for phpagi is available from the project website.

-

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

676d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd0afea8768852e6ced7854312f0d605a0fab1712ec47b5e1d529c2b6f0f9a4f?d=identicon)[m.decarli](/maintainers/m.decarli)

---

Top Contributors

[![zakima](https://avatars.githubusercontent.com/u/37573?v=4)](https://github.com/zakima "zakima (13 commits)")[![d4rkstar](https://avatars.githubusercontent.com/u/4957015?v=4)](https://github.com/d4rkstar "d4rkstar (5 commits)")[![mdecarli](https://avatars.githubusercontent.com/u/170648210?v=4)](https://github.com/mdecarli "mdecarli (2 commits)")[![Arbuzov](https://avatars.githubusercontent.com/u/1662280?v=4)](https://github.com/Arbuzov "Arbuzov (2 commits)")[![alexeevdv](https://avatars.githubusercontent.com/u/597839?v=4)](https://github.com/alexeevdv "alexeevdv (1 commits)")[![Bdido86](https://avatars.githubusercontent.com/u/2090126?v=4)](https://github.com/Bdido86 "Bdido86 (1 commits)")[![ipoddubny](https://avatars.githubusercontent.com/u/1784421?v=4)](https://github.com/ipoddubny "ipoddubny (1 commits)")[![gdespirito](https://avatars.githubusercontent.com/u/1103494?v=4)](https://github.com/gdespirito "gdespirito (1 commits)")[![bs-unica](https://avatars.githubusercontent.com/u/245555543?v=4)](https://github.com/bs-unica "bs-unica (1 commits)")

---

Tags

clientflowasteriskcallivrvoiptelephonyagi

### Embed Badge

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

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

###  Alternatives

[marcelog/pagi

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

192133.7k16](/packages/marcelog-pagi)[wormling/phparia

Asterisk REST Interface (ARI) client for PHP.

419.8k](/packages/wormling-phparia)[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)[greenfieldtech-nirs/phpari

A PHP Class Library for Asterisk ARI

9213.9k](/packages/greenfieldtech-nirs-phpari)

PHPackages © 2026

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