sashalenz/binotel-api

API for Binotel
8,798 3
Install
composer require sashalenz/binotel-api
Latest Version:2.3.1
PHP:^8.2
Laravel:10 – 13
Older releases:9
License:MIT
Last Updated:May 17, 2026
Links: GitHub  ·  Packagist
Maintainer: sashalenz

API for Binotel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require sashalenz/binotel-api

You can publish and run the migrations with:

php artisan vendor:publish --provider="Sashalenz\Binotel\BinotelServiceProvider" --tag="binotel-api-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Sashalenz\Binotel\BinotelServiceProvider" --tag="binotel-api-config"

This is the contents of the published config file:

return [
    'url' => env('BINOTEL_API_URL', 'https://api.binotel.com/api/'),
    'version' => env('BINOTEL_API_VERSION', '4.0'),
    'format' => env('BINOTEL_API_FORMAT', 'json'),

    'key' => env('BINOTEL_API_KEY', null),
    'secret' => env('BINOTEL_API_SECRET', null),

    'actions' => [
        'apiCallSettings' => \Sashalenz\Binotel\Actions\ApiCallSettings::class,
        'apiCallCompleted' => \Sashalenz\Binotel\Actions\ApiCallCompleted::class,
        'receivedTheCall' => \Sashalenz\Binotel\Actions\ReceivedTheCall::class,
        'answeredTheCall' => \Sashalenz\Binotel\Actions\AnsweredTheCall::class,
        'hangupTheCall' => \Sashalenz\Binotel\Actions\HangupTheCall::class
    ],

    'customer_class' => null,
    'employee_class' => null,
    'pbx_class' => null,

    'domain' => env('BINOTEL_API_DOMAIN', env('APP_URL'))
];

Usage

$customersList = Sashalenz\Binotel\Binotel::customers()->list();

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.

Related Packages

sashalenz/google-maps-api

Google Maps API SDK for Laravel

1,252 0
sashalenz/privat24-business-api

This is my package privat24-business-api

1,173 0
sashalenz/monobank-api

This is my package monobank-api

1,171 0
sashalenz/novapay-api

NovaPay Business Cabinet API client for Laravel

1,117 0
sashalenz/delivery-auto-api

Delivery Auto API client for Laravel

1,130 1

Version History

Version Released PHP Laravel License
2.3.1 ^8.2 ^10.0||^11.0||^12.0||^13.0 MIT
2.3.0 ^8.2 ^10.0||^11.0||^12.0||^13.0 MIT
2.2.3 ^8.2 ^10.0||^11.0||^12.0||^13.0 MIT
2.2.2 ^8.2 ^10.0||^11.0||^12.0||^13.0 MIT
2.2.1 ^8.2 ^10.0||^11.0||^12.0||^13.0 MIT