soap / laravel-ami
Asterisk Manager Interface integration Laravel package
Fund package maintenance!
:vendor_name
Requires
- php: ^8.0|^8.1
- clue/ami-react: ^1.1
- illuminate/contracts: ^8.37|^9.0|^10.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^5.10
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^6.22
- pestphp/pest: ^1.10
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.4
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-11-28 12:45:39 UTC
README
Laravel-Ami provides Asterisk interface for laravel via Asterisk Manager Interface. I develop this package to use in my virtual PBX and contact center applications. So all use cases come from my application requirements. Any discussion on features are welcome.
Installation
You can install the package via composer:
composer require soap/laravel-ami
You can publish the config file with:
php artisan vendor:publish --tag="ami-config"
Optionally, you can publish the views using
This is the contents of the published config file:
return [ 'connections' => [ 'default' => [ 'uri' => 'user:secret@host:port', ] ] ];
Usage
Atisan Command
php artisan ami:cli "pjsip show aors"
Above cli command use default uri provided in app/config/ami.php. You can override it with --uri user:secret@host:port.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.