Download the PHP package yian/fwalert-sdk without Composer

On this page you can find all versions of the php package yian/fwalert-sdk. 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 fwalert-sdk

Fw: Alert 是什么

饭碗警告(Fw: Alert)可以轻松将 webhook(HTTP 请求)、邮件转发为短信、电话等报警,内置强大的模板变量提取功能,既可以轻松与任意监控系统组合使用,也可以快速接入自研监控系统。

Fw: Alert PHP SDK

本 SDK 对 Fw: Alert 的 webhook 模式进行了封装,让你可以无需关注 HTTP 请求,只需几行代码即可快速在你的 PHP 项目中接入 饭碗警告
*如需在 Go 项目中使用,请移步:https://github.com/YianAndCode/fwalert-go

在开始之前,请确保你已经注册好了饭碗警告(点击左侧链接直达注册页)。

使用方式

通过 composer 安装:

接下来只需要:

进阶用法

本 SDK 除了封装 HTTP 请求外,还增加了“频道”的概念:当你设置了多个告警规则的时候,不需要在你的代码中实例化一堆 FwAlert 出来,只需要:


All versions of fwalert-sdk with dependencies

PHP Build Version
Package Version
No informations.
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 yian/fwalert-sdk contains the following files

Loading the files please wait ....