承接 tschope/passport-tracking-client 相关项目开发

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

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

tschope/passport-tracking-client

最新稳定版本:1.0.4

Composer 安装命令:

composer require tschope/passport-tracking-client

包简介

A package for tracking Irish passport applications.

README 文档

README

A PHP package for tracking Irish passport applications using the Irish Passport Tracking Service.

Installation

Install the package via Composer:

composer require tschope/passport-tracking-client

Usage

Initialize the Client

use Tschope\PassportTrackingClient\PassportTrackingClient;

$client = new PassportTrackingClient();

Fetch Status

To fetch the status of a passport application, use the fetchStatus method:

$status = $client->fetchStatus('YOUR_APPLICATION_REFERENCE');

print_r($status);

Example output:

Array
(
    'application_id' => '40066000000',
	'estimated_issue_date' => '11/02/2025',
	'last_update' => '14/01/2025',
	'progress' => 3.24, // percentage
	'application_received' => '08/01/2025',
	'alert_date' => '14/01/2025',
	'alert_title' => 'Processing application',
	'alert_message' => "We have received your supporting documents. We are now verifying these documents.",
	'status_history' => 
	[
        'date' => '15/11/2024',
        'status' => 'Dispatched',
        'message' => 'Your Passport Book was posted on 15/11/2024',
    ],
    [
        'date' => '15/11/2024',
        'status' => 'Printing',
        'message' => 'Your Passport Card is being printed',
    ],
)

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-14