2017 © Pedro Peláez
 

library ctt

ctt (portuguese post office) mail tracker, package tracker

image

jupitern/ctt

ctt (portuguese post office) mail tracker, package tracker

  • Friday, February 2, 2018
  • by jupitern
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 67 % Grown

The README.md

jupitern/ctt

CTT (Portugal post office) tracking for PHP.

track mail and packages using CTT service (Portuguese post office) https://www.ctt.pt/feapl_2/app/open/objectSearch/objectSearch.jspx, (*1)

Requirements

PHP 5.6 or higher., (*2)

Installation

Include jupitern/ctt in your project, by adding it to your composer.json file., (*3)

{
    "require": {
        "jupitern/ctt": "1.*"
    }
}

Usage

$ctt = new \Jupitern\Ctt\CttTracking();
$res = $ctt->trackObjects(['ED123456789PT', 'LX123456789PT']);
var_dump($res);

/*
output:
Array
(
    [ED123456789PT] => Array
        (
            [status] => 6
            [statusText] => Objeto não encontrado
        )

    [LX123456789PT] => Array
        (
            [status] => 4
            [statusText] => Objeto entregue
        )

)
*/

ChangeLog

  • initial release

Contributing

  • welcome to discuss a bugs, features and ideas.

License

jupitern/ctt is release under the MIT license., (*4)

You are free to use, modify and distribute this software, (*5)

The Versions

02/02 2018

dev-master

9999999-dev https://github.com/jupitern/ctt

ctt (portuguese post office) mail tracker, package tracker

  Sources   Download

MIT

The Requires

 

by Nuno Chaves

ctt mail tracker package tracker

02/02 2018

1.0.0

1.0.0.0 https://github.com/jupitern/ctt

ctt (portuguese post office) mail tracker, package tracker

  Sources   Download

MIT

The Requires

 

by Nuno Chaves

ctt mail tracker package tracker