Download the PHP package mapsight/pulp-datex-fuel without Composer
On this page you can find all versions of the php package mapsight/pulp-datex-fuel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pulp-datex-fuel
Pulp DATEX Fuel
MTS-K DATEX II v2 petrol-station helpers for Pulp pipelines. Two layers: Mobilithek source defaults, then presentation-neutral XML → GeoJSON.
This package is not AFIR charging (mapsight/pulp-datex-energy).
Features
- Mobilithek src helper: Configures
Pulp::srcHttpwith the default subscription URL,Accept-Encoding: gzip, and P12 client-cert curl options. Certificate path, password, and subscription ID stay caller-supplied. - Grunddaten → GeoJSON: One point feature per
PetrolStationfrom aPetrolStationPublication. - Preisdaten:
FuelPricerecords for Super E5, Super E10, and Diesel, joined to stations on the station GUID. - Bounding box filtering: Limits stations to
[minLon, minLat, maxLon, maxLat]. - Presentation-neutral output: Source and data properties only. Applications add icons, HTML descriptions, and localized labels afterwards.
Access
Consumer pull of the aggregated MTS-K collector feeds requires Verbraucher-Informationsdienst admission under § 6 MTSKraftV (nationwide, permanent, unrestricted) or a VID third-party regional feed (the VID stays liable). This package only parses publications you already have a right to fetch. It does not apply for VID status and does not check legal eligibility at runtime.
- § 5 MTSKraftV
- § 6 MTSKraftV
- Hinweise der MTS-K zur Nutzung der Mobilithek (Stand April 2026)
- Info VID Verbraucher (26 Feb 2025)
- Schema (DATEX II v2, v01-01)
- WSDL
Installation
This package depends on mapsight/pulp and mapsight/pulp-mobilithek.
Fetch a subscription
Pulp::srcHttp still loads the full response body as a string. A nationwide
dump may need a disk sink in core pulp later. That belongs in core pulp, not
this package.
Stations GeoJSON
The handler accepts a DATEX II v2 XML string, a Mobilithek SOAP container, or an already-decoded array. Stations without coordinates are dropped.
Price merge
Or in a pipeline:
To keep an on-disk accumulator across runs (and to ignore 304/204 packets):
A SNAPSHOT packet replaces the station-price cache. A DELTA packet upserts
by station GUID. Published MTS-K examples are snapshots; the DELTA path is the
hook if a collector later sends increments.
Station properties
Station features include:
stationId(GUID)namebrand,operator(empty string when the publication omits them)addressLine,postcode,city,countryCodeopeningHours(DATEX-derived list of{days, periods}blocks;daysuse DATEXDayEnumvalues such asmondayandpublicHoliday)stationUpdatedAtsource,sourceUrl
After a price merge, matched features also include:
e5,e10,diesel(float with up to three decimals, ornullwhen that product is absent)pricesUpdatedAt(dateOfPrice/ Änderungszeitpunkt)
Notes
- Certificate path, password, and subscription ID stay caller-supplied.
- Presentation (icons, localized copy, price comparison) belongs in the consuming application.
srcMobilithek()only configuresPulp::srcHttp. Cache withPulpCache::remember. The same helper is also available asPulpMobilithek::srcMobilithek().
All versions of pulp-datex-fuel with dependencies
ext-curl Version *
ext-libxml Version *
ext-simplexml Version *
mapsight/pulp Version *