PHPackages                             ivansabik/estafeta - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. ivansabik/estafeta

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ivansabik/estafeta
==================

Unofficial PHP class that wraps package tracking and shipping quotes functionalities for mexican shipping carrier Estafeta

2321PHP

Since Aug 30Pushed 10y agoCompare

[ Source](https://github.com/ivansabik/estafeta-php)[ Packagist](https://packagist.org/packages/ivansabik/estafeta)[ RSS](/packages/ivansabik-estafeta/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Estafeta PHP
============

[](#estafeta-php)

[![Build Status](https://camo.githubusercontent.com/ff0ff94919a7ae6aa30be3e1da6dba90b69a3e087323632a90a899dda9bec4e2/68747470733a2f2f7472617669732d63692e6f72672f6976616e736162696b2f65737461666574612d7068702e737667)](https://travis-ci.org/ivansabik/estafeta-php)

Wrapper para proveer funcionalidades de rastreo y cotización de envíos de paquetes de Estafeta. Está basado en la API no oficial, pero a diferencia de ésta no usa la librería DOM Hunter, se realiza el scraping de forma manual con el módulo DOM de PHP. Otra diferencia importante es que provee arreglos asociativos nativos de PHP como respuesta, y no JSON por lo

### Rastreo

[](#rastreo)

Actualmente proporciona la siguiente info (sólo para envíos nacionales):

- Número de guía
- Código de rastreo
- Tipo de servicio
- Fecha programada de entrega
- Lugar de origen (nombre y coordenadas usando la API de geolocalización Google Maps)
- Fecha de recolección
- Hora de recolección
- Lugar de destino (nombre, código postal y coordenadas usando la API de geolocalización Google Maps)
- Estatus del envío
- Fecha de entrega
- Hora de entrega
- Firma y comprobante de recibido
- Historial de movimientos

### Cotización de sobres y paquetes

[](#cotización-de-sobres-y-paquetes)

Para cotización muestra la info de paquetes y sobres de los siguientes productos:

- 11:30
- Día siguiente
- Dos días
- Terrestre

### Ejemplos

[](#ejemplos)

#### Rastreo

[](#rastreo-1)

```
$estafeta = new Estafeta();
$estafeta->rastrear('2851055655');
$infoEnvio = $estafeta->infoEnvio;
```

#### Cotización de sobre

[](#cotización-de-sobre)

```
$estafeta = new Estafeta();
$estafeta->cotizar('01210', '86035'); # cp origen, cp destino
$cotizacion = $estafeta->cotizacion;
```

#### Cotización de paquete

[](#cotización-de-paquete)

```
$estafeta = new Estafeta();
$estafeta->cotizar('01210', '86025', 1, 10, 20, 20); # cp origen, cp destino, peso, alto, largo, ancho
$cotizacion = $estafeta->cotizacion;
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a458856567486660c945ac5c38a14f0279ab3a6ddf7ee09dabc54afe617a9375?d=identicon)[ivansabik](/maintainers/ivansabik)

---

Top Contributors

[![ivansabik](https://avatars.githubusercontent.com/u/815440?v=4)](https://github.com/ivansabik "ivansabik (9 commits)")

### Embed Badge

![Health badge](/badges/ivansabik-estafeta/health.svg)

```
[![Health](https://phpackages.com/badges/ivansabik-estafeta/health.svg)](https://phpackages.com/packages/ivansabik-estafeta)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M316](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
