Download the PHP package tabsl/tabsldhltracking without Composer

On this page you can find all versions of the php package tabsl/tabsldhltracking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tabsldhltracking

tabslDhlTracking

DHL Paket-Tracking Modul fuer OXID eShop 6.x.

Holt automatisch Sendungsstatus, Events und voraussichtliches Zustelldatum ueber die offizielle DHL Shipment Tracking - Unified API und zeigt alle Informationen direkt in der OXID-Bestelluebersicht im Admin an.

Features

Installation

composer require tabsl/tabsldhltracking

Anschliessend das Modul im OXID Admin unter Erweiterungen → Module aktivieren. Die benoetigten Datenbank-Felder (tabsldhltracking_deliverydate, tabsldhltracking_info) werden beim Aktivieren automatisch in oxorder angelegt.

DHL API Zugang einrichten

Das Modul nutzt die DHL Shipment Tracking - Unified API des DHL Developer Portals. Der API-Zugang ist fuer Geschaeftskunden mit einer DHL Paket Geschaeftskunden-Vertragsnummer (EKP) kostenfrei.

1. DHL Developer Portal Account

  1. Auf developer.dhl.com registrieren
  2. E-Mail-Adresse bestaetigen und einloggen

2. App anlegen und API freischalten

  1. Im Portal auf My Apps → Apps → Create new App klicken
  2. Beliebigen App-Namen vergeben (z. B. OXID Shop Tracking)
  3. Unter APIs die API Shipment Tracking - Unified zur App hinzufuegen
  4. App speichern

Nach Anlage der App wird ein API Key (Consumer/Customer Key) erzeugt. Dieser Key ist sofort gegen die Sandbox nutzbar.

3. Produktiv-Freischaltung beantragen

Fuer den produktiven Einsatz muss die Shipment-Tracking-API zusaetzlich produktiv freigeschaltet werden:

  1. App oeffnen → API Shipment Tracking - Unified anwaehlen
  2. Get Production Key anklicken
  3. Im Formular die DHL Geschaeftskunden-Nummer (EKP, 10-stellig) angeben und Anwendungsfall beschreiben (z. B. "Statusabfrage versendeter Paketsendungen im OXID Shop Backend")
  4. DHL prueft den Antrag in der Regel innerhalb weniger Werktage

Nach Freigabe steht derselbe API Key auch produktiv zur Verfuegung — es ist kein separater Key noetig.

4. API Key im Modul hinterlegen

Im OXID Admin unter Erweiterungen → Module → tabslDhlTracking → Einstellungen:

5. Rate Limits

Der DHL-API-Zugang hat ein Rate Limit. Aktuelle Werte (Stand DHL Developer Portal):

Das Modul ruft die API nur on demand auf (Button im Admin), nicht automatisiert in Bulk. Wer ein Cronjob-basiertes Bulk-Update plant, sollte das Rate Limit im Blick behalten.

Verwendung

In der OXID Bestellbearbeitung (Reiter Hauptdaten) erscheint nach Aktivierung des Moduls ein zusaetzlicher Block unterhalb der Versanddaten. Vorausgesetzt im Feld Tracking Code (oxorder.oxtrackcode) ist eine DHL-Sendungsnummer hinterlegt, kann ueber den Button DHL-Status aktualisieren der aktuelle Sendungsstatus abgerufen werden.

Angezeigt werden anschliessend:

Cronjob (Bulk-Status-Update)

Das Modul bringt einen Frontend-Controller mit, der per Cronjob alle offenen Sendungen automatisch aktualisiert — alle Bestellungen mit Tracking-Code, ohne persistiertes Auslieferdatum, im konfigurierten Zeitfenster (Default 30 Tage).

1. Auth-Key

Im OXID Admin unter Erweiterungen → Module → tabslDhlTracking → Einstellungen → Cronjob:

Beide Filter sind kombinierbar (AND-Verknuepfung) und greifen nur im Cron. Der manuelle "DHL-Status aktualisieren"-Button im Admin laeuft unabhaengig davon — der Admin entscheidet pro Bestellung.

2. URL aufrufen

https://<shop>/index.php?cl=tabsldhltrackingcron&fnc=update&key=<SECRET>

Antwort (Plaintext):

[2025-11-22 03:00:01] tabslDhlTracking cron update (last 30 days)
  100123: updated
  100124: updated
  100125: skipped/failed
summary: 3 eligible, 2 updated, 1 skipped/failed

3. Crontab-Beispiel

# alle 3 Stunden DHL-Status fuer offene Sendungen pruefen
0 */3 * * * curl -s "https://shop.example.com/index.php?cl=tabsldhltrackingcron&fnc=update&key=<SECRET>" >> /var/log/tabsldhltracking.log 2>&1

Alternativ via gehosteten Cron-Diensten (cron-job.org, EasyCron, Hetzner Cloud Function etc.) — dort einfach die URL eintragen.

4. Logfile

Wenn das Shop-Verzeichnis log/ beschreibbar ist, werden die Cron-Outputs zusaetzlich an log/tabsldhltracking.log angehaengt.

5. Hinweise

Kompatibilitaet

Changelog

Siehe CHANGELOG.md.

License

GNU General Public License v3.0 — siehe LICENSE.

Copyright

Tobias Merkl | https://oxid-module.eu


All versions of tabsldhltracking with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tabsl/tabsldhltracking contains the following files

Loading the files please wait ...