承接 twidpay/utils 相关项目开发

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

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

twidpay/utils

最新稳定版本:3.0.0

Composer 安装命令:

composer require twidpay/utils

包简介

Utils for twidpay

README 文档

README

This PHP library provides utility classes for Twid applications. It's compatible with PHP 8.2+ and Laravel 12.

Breaking Changes in v3.0.0

  • Removed Kafka-related functionality
  • Updated to support Laravel 12
  • Upgraded to twidpay/twid-logger 3.0
  • Requires PHP 8.2 or higher
  • Improved type safety with PHP 8.4 support

Installation

  1. Requirements:

    • PHP 8.2 or higher
    • Laravel 12
    • twidpay/twid-logger 3.0
  2. Installation via Composer:

    You can install the library via Composer. Run the following command in your terminal:

    composer require twidpay/utils
  3. Usage:

    • The library includes utilities for handling PII data:
    use Utils\PiiData\CustomerDataDTO;
    
    $data = [
        'id' => 1,
        'mobileNumber' => '1234567890',
        'firstname' => 'John',
        'middlename' => 'Doe',
        'lastname' => 'Smith',
        'email' => 'john.doe@example.com',
        'dob' => '1990-01-01',
        'hashedMobileNumber' => 'hash123'
    ];
    
    $customer = new CustomerDataDTO($data);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-28