Download the PHP package deyan-ardi/ganadev-notif without Composer

On this page you can find all versions of the php package deyan-ardi/ganadev-notif. 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 ganadev-notif

Laravel Ganadev Notification Service Package

phpbootstrap

What Is Ganadev Notification Sender API?

Ganadev Notification Sender is an API developed by GanaDev Com to simplify and support the process of sending notifications faster without disturbing the main application. The concept used in the development of this API is Microservice, your application sends a notification request via our API, and we will help send it to your users. With this concept, your application will have a much faster execution time than usual. Ganadev Notification Sender currently only supports sending notifications via Email and WhatsApp.

What Is Laravel Ganadev Notification Service Package?

Laravel Ganadev Notification Service is a Laravel package that is used to help speed up the integration process between the applications you are developing with the Ganadev Notification Sender API. This package includes ready-to-use functions that really help your work process, so you don't need to do it manually anymore

Support Version

Laravel Version Support
4.2.x No
5.x.x No
6.x.x No
7.x.x Yes
8.x.x Yes
9.x.x Yes
10.x.x Yes

System Requerements

Installation

How To Get API TOKEN

How To Register Device

How To Use

Integration With Laravel Mailer

To integration this package with Laravel Mailer, first you must add new mailer method in config/mail.php

After that, set the default MAIL_MAILER to ganadev and set GANADEV_REPLACE_STATUS to true in .env file

That way, every time you send an email using Laravel Mailer. Then the email configuration used is the configuration from the Ganadev Notification Sender API server. Later, if you make changes to your email configuration, you can simply change it on the Ganadev Notification Sender API (https://sv1.wa-api.ganadev.com/home) server, so all your app that use the Device Account will be updated too. Another advantage, you no longer need to fear that your email configuration will be known by other people, because your email configuration is separate from your application.

Finally, if you activate this function, by default this package will automatically make a request to the Ganadev Notification Sender API server every 15 minutes. This means, if later you make changes to the Device Account on the Ganadev Notification Sender API server. The change will be felt 15 minutes later. You can change the configuration in the idle_time configuration in the config/ganadevnotif.php file. We provide default options, namely requests every 15 minutes, 30 minutes, or 60 minutes.

Integration With Laravel Queue

By default, this package send request to API Server using Laravel Queue method used in your application QUEUE_CONNECTION setting. You can disabled it by set must_queue to false in config/ganadevnotif.php.

If you want running spesific API Function manually using Jobs, you can publish Jobs file using this command

Now all job will be publish to Jobs folder and you can call it using Laravel Queue method. Please read documentation of Laravel Queue in https://laravel.com.

Send Mail Message Only

You can send email message (without image) using methode name sendMailMessage, this method required 3 paramaeters send_to,subject, and message. Example usage :

Send Mail Media (With Image or Other Media)

You can send email message (with image or other media) using methode name sendMailMedia, this method required 6 paramaeters send_to,subject, message, filename, link and mime_type. For list of mime_type, please check here https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types Example usage :

Send WhatsApp Message Only

You can send whatsapp message (without image) using methode name sendWaMessage, this method required 2 paramaeters send_to and message. Example usage :

Send WhatsApp Media (With Image or Other Media)

You can send whatsapp media (with image or other media) using methode name sendWaMedia, this method required 4 paramaeters send_to, link, type, and message. Example usage :

Get "Device Account" Information

The term "Device Account" means the configuration that contains your email and whatsapp data.You can get detail of device you use by using method getDevice, this method not required parameter. Example usage :

Response Structure

By default, response of the method is json response, you can change it with array in config/ganadevnotif.php. This is example structure response of the method

Contributing

Version

The Laravel Ganadev Notification Service Package is open-sourced software licensed under the MIT license.


All versions of ganadev-notif with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|7.4|^8.0|^8.1|^8.2
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 deyan-ardi/ganadev-notif contains the following files

Loading the files please wait ....