承接 wahidin/mutasi-qris 相关项目开发

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

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

wahidin/mutasi-qris

Composer 安装命令:

composer require wahidin/mutasi-qris

包简介

script cek mutasi qris.id

README 文档

README

Overview

QRIS Transaction Fetcher is a PHP library that allows merchants to retrieve transaction history from the QRIS (Quick Response Code Indonesian Standard) merchant portal. This library simplifies the process of fetching transaction data through automated login and data extraction.

Features

  • 🔐 Secure login to QRIS merchant portal
  • 📅 Flexible date range selection for transactions
  • 🔢 Transaction amount filtering
  • 🧩 Comprehensive error handling
  • 📊 Parsed transaction details

Requirements

  • PHP 7.4+
  • Symfony DomCrawler Component
  • cURL Extension
  • Composer

Installation

Install the library using Composer:

composer require wahidin/mutasi

Usage Example

<?php
use Wahidin\Mutasi\QrisTransactionFetcher;

try {
    // Initialize the transaction fetcher
    $fetcher = new QrisTransactionFetcher(
        'your_username',     // Merchant portal username
        'your_password',     // Merchant portal password
        100000,              // Optional: Filter transactions above this amount
        '2023-01-01',        // Optional: Start date
        '2023-02-01',        // Optional: End date
        50                   // Optional: Limit number of transactions (default: 20)
    );

    // Fetch transactions
    $transactions = $fetcher->fetchTransactions();

    // Process transactions
    foreach ($transactions as $transaction) {
        echo "Transaction ID: " . $transaction['id'] . "\n";
        echo "Amount: Rp " . number_format($transaction['nominal']) . "\n";
        echo "Customer: " . $transaction['nama_costumer'] . "\n";
        echo "---\n";
    }
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}

Transaction Data Structure

Each transaction is an associative array with the following keys:

  • id: Transaction internal ID
  • timestamp: Unix timestamp of transaction
  • tanggal: Transaction date
  • nominal: Transaction amount
  • status: Transaction status
  • inv_id: Invoice ID
  • tanggal_settlement: Settlement date
  • asal_transaksi: Transaction origin
  • nama_costumer: Customer name
  • rrn: Reference number

Error Handling

The library throws specific exceptions for various scenarios:

  • InvalidArgumentException: For incorrect input parameters
  • RuntimeException: For login failures or network issues

Configuration Options

Constructor Parameters

  • $username (required): Merchant portal username
  • $password (required): Merchant portal password
  • $filter (optional): Minimum transaction amount filter
  • $fromDate (optional): Start date for transaction history
  • $toDate (optional): End date for transaction history
  • $limit (optional): Maximum number of transactions to fetch (10-300)

Limitations

  • Requires active internet connection
  • Depends on the current structure of the QRIS merchant portal
  • Maximum of 300 transactions per request

Security Notes

  • Stores temporary cookies for authentication
  • Recommends using environment variables for credentials
  • Implements basic input validation

wahidin/mutasi-qris 适用场景与选型建议

wahidin/mutasi-qris 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 74 次下载、GitHub Stars 达 24, 最近一次更新时间为 2022 年 08 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 wahidin/mutasi-qris 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 wahidin/mutasi-qris 我们能提供哪些服务?
定制开发 / 二次开发

基于 wahidin/mutasi-qris 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 24
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-28