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
-
Requirements:
- PHP 8.2 or higher
- Laravel 12
- twidpay/twid-logger 3.0
-
Installation via Composer:
You can install the library via Composer. Run the following command in your terminal:
composer require twidpay/utils
-
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
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-28