定制 fazpass/phpseamless 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fazpass/phpseamless

Composer 安装命令:

composer require fazpass/phpseamless

包简介

Fazpass library to support seamless technology

README 文档

README

This is php seamless library to help you decrypt meta response from server

Installation

Add this into your composer.json

{
    "require": {
        "fazpass/phpseamless":"version"
    }
}

next, you need to run

composer install

Use autoloader Composer into your php script

require_once 'vendor/autoload.php';

Usage

This is the example how to use this library

<?php
include 'fazpass.php';
try {
    $privateKeyPath = __DIR__ . '/../src/key/sample.key';
    $fazpass = new Fazpass($privateKeyPath);
    $encryptedData = 'META'; // meta response from our server
    $result = $fazpass->extract($encryptedData);
    echo "Hasil Ekstraksi:\n";
    print_r($result->challenge);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
?>

Other

For object inside meta and general documentation, please refer this Link

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Mit
  • 更新时间: 2023-12-31