Download the PHP package enniel/ami without Composer

On this page you can find all versions of the php package enniel/ami. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ami

Build Status StyleCI

Enniel\Ami

Easy control via asterisk manager interface (AMI).

Installation and configuration

To install as a composer package to be used with Laravel 5, simply run:

Once it's installed, you can register the service provider in config/app.php in the providers array:

Then publish assets with php artisan vendor:publish. This will add the file config/ami.php.

Usage

Connection options

You are can specify connection parameters for each command.

Option Description
--host Asterisk AMI server host
--port Asterisk AMI server port
--username Asterisk AMI server username
--secret Asterisk AMI server secret

Listen ami events

If would you like to see event log in the console use monitor option

Send ami action

Send sms messages using chan dongle

For sending long messages use pdu mode.

Argument device is not required.

Send ussd commands using chan dongle

Send ami commands

This command started cli interface for ami. Command attribute is optional.

Close cli interface after sending command.

Without Laravel


All versions of ami with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
ext-mbstring Version *
illuminate/support Version ~5.1
illuminate/console Version ~5.1
illuminate/events Version ~5.1
illuminate/contracts Version ~5.1
react/dns Version ~0.4.3
react/stream Version ~0.4.6
react/event-loop Version ~0.4.2
react/socket-client Version ~0.4.6
clue/ami-react Version ~0.3.1
jackkum/phppdu Version ~1.2.10
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package enniel/ami contains the following files

Loading the files please wait ....