Download the PHP package webard/nova-zadarma without Composer

On this page you can find all versions of the php package webard/nova-zadarma. 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 nova-zadarma

Laravel Nova Zadarma VoIP Integration

Description

This package provides integration between Laravel Nova and the Zadarma VoIP service. It allows you to make, receive and manage phone calls directly from your Nova interface!

Installation

Step 1: Install the package

Run the following command to install the package:

Step 2: Publish the configuration

Publish the package configuration using the following command:

Step 3: Provide API keys from Zadarma

Add this lines to .env file and fill them:

Zadarma Secret and Key you can find in Settings -> Integrations and API -> Keys and API:

Zadarma SIP Login is the suffix of PBX number, which can be found under My PBX -> Extensions.

Your SIP Login is behind the painted field.

Step 4: Publish the migrations

Publish the package migrations using the following command:

Step 5: Register tool in NovaServiceProvider

Step 6: Update the User model

  1. Add the HasPhoneCalls trait to the User model
  2. Add zadarma_sip and phone_number to $fillable property
  3. Cast phone_number field to E164PhoneNumberCast::class.

Step 7: Modify User resource

  1. Add Zadarma SIP field
  2. Add Phone Number field
  3. Add UserPhoneCalls field

Step 8: Add the phone call action to the User resource

Add the MakePhoneCall action to the User resource:

[!WARNING] MakePhoneCall action must be sole, because User can make call to only one user at time.

[!TIP] You can add ->withoutConfirmation() method to action to allow making phone calls directly after clicking action.

Step 9: Fill SIP Number in your User profile of Nova

Go to your User edit form and fill Zadarma SIP according to SIP number in Zadarma panel. Default created SIP number is 100:

Webhooks

Step 1: Enable "Notifications" in integrations

Go to Settings -> Integrations and API -> Integrations in Zadarma Panel and enable "Notifications" integration.

Step 2: Fill settings of "Notifications" integration

Go to Notifications settings and enter webhook URL:

and enable checkboxes:

Step 3: Add webhook URL to ignore

Go to bootstrap/app.php file and modify withMiddleware method:

If you have fruitcake/laravel-telescope-toolbar installed, add webhook URL to ignore_paths in config/telescope-toolbar.php

TODO

I'm are actively seeking contributions to enhance this package. Here are some features I would love to see implemented:

Contributing

We welcome contributions to improve this plugin! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with descriptive messages.
  4. Push your changes to your forked repository.
  5. Open a pull request to the main repository.

License

This project is licensed under the MIT License. See the LICENSE.md file for more details.

Contact

For questions or support, please open an issue on GitHub.


All versions of nova-zadarma with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version ^10.0|^11.0
laravel/nova Version ^4.20
nova-kit/nova-packages-tool Version ^1.0
propaganistas/laravel-phone Version ^5.0
zadarma/user-api-v1 Version ^1.1
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 webard/nova-zadarma contains the following files

Loading the files please wait ....