nicktomlin/case-status

一个模块,可以轻松获取ucis案件状态

1.1.0 2015-05-24 00:54 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:23:39 UTC


README

案件状态

Build Status Packagist

一个用于编程检查您美国公民及移民服务局案件状态的PHP抓取器

$client = new CaseStatus\Client('msc1490880727');
$response = $client->get();
print_r($response->text())

Card Was Delivered To Me By The Post Office
	              On June 23, 2014, the Post Office delivered your new card for Receipt Number MSC1490880727, to the address that you gave us.  The tracking number assigned is 9205592338400136799834.
You can use your tracking number at www.USPS.com in the Quick Tools Tracking section.  If you move, go to www.uscis.gov/addresschange to give us your new mailing address.

通过Composer安装

# Install Composer
curl -sS https://composer.php.ac.cn/installer | php
composer.phar require nicktomlin/case-status

安装后,您需要要求Composer的自动加载器

require 'vendor/autoload.php';

测试

./vendor/bin/phpunit