Skip to content
Asterisk gateway interface (AGI) library
Branch: master
Clone or download
Latest commit a9dd29c Jul 25, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src code and tests Jul 23, 2019
test fix test Jul 25, 2019
.gitignore first commit Jul 17, 2019 code and tests Jul 23, 2019
composer.json fix tests and composer Jul 24, 2019
phpunit.xml code and tests Jul 23, 2019
psalm.xml code and tests Jul 23, 2019


Asterisk gateway interface (AGI) library


It's recommended that you use Composer to install TryAGI.

$ composer require userator/tryagi "~1.0.0"

This will install TryAGI and all required dependencies. TryAGI requires PHP 7.3.0 or newer.


Create an agi.php file with the following contents:

#!/usr/bin/php7.3 -q

require 'vendor/autoload.php';

$agi = new \TryAGI\Client(STDIN, STDOUT, new \Psr\Log\NullLogger());


$result = $agi->send('VERBOSE "test verbose message"');


To execute the test suite, you'll need phpunit7.

$ phpunit7
You can’t perform that action at this time.