承接 khelechy/argus-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

khelechy/argus-php

最新稳定版本:v1.0.1

Composer 安装命令:

composer require khelechy/argus-php

包简介

This is the official PHP library for the ARGUS Engine, this library helps PHP developers and applications seamlessly integrate to the ARGUS Engine, authentication and event listening.

README 文档

README

This is the official PHP library for the ARGUS Engine, this library helps PHP developers and applications seamlessly integrate to the ARGUS Engine, authentication and event listening.

Install via Composer

    composer require khelechy/argus-php

Usage -

   <?php

   use Khelechy\Argus\Argus;

Have a class to define the fucntion to be called when you receive an Argus Event

    <?php

    class TestSub{

        public function subscribeToArgus($argusData){
            echo $argusData->Action . "\n";
            echo $argusData->ActionDescription . "\n";
            echo $argusData->Name . "\n";
            echo $argusData->Timestamp . "\n";
        }
    }

Finally use argus like so,

    $sub = new TestSub();

    $argus = new Argus("testuser", "testpassword"); // Optionally you can pass the host and port, and auth credentials inclusive.

    $argus->subscribe($sub, 'subscribeToArgus');

    $argus->connect();

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固