creof/wkb-parser
A lightweight PHP parser for Well-Known Binary (WKB) geometry data. It converts WKB/EWKB strings into usable PHP geometry objects, making it easy to work with spatial data from databases and GIS tools without heavy dependencies.
creof/wkb-parser is a low-level, framework-agnostic PHP parser for WKB/EWKB binary geometry data, not a Laravel package. It fits Laravel only as an isolated Composer utility behind an application-owned adapter. It is appropriate for narrow read-only decoding at an import/API boundary—for example, converting PostGIS/MySQL binary geometry into an application representation—but it is not a GIS platform, spatial query layer, projection engine, validator, or serializer for all geometry workflows.2022-03-24—and the project has modest ecosystem signals (60 stars, opportunity score 1.14, overall score 1.63). MIT licensing is favorable, but low activity increases risk around PHP 8.x compatibility, unpatched edge cases, and long-term maintenance. Binary parsers also carry robustness risk: malformed/truncated payloads, very large geometries, unsupported Z/M dimensions, endianness issues, and EWKB SRID handling must be tested explicitly. Repository metadata is marked unknown, so provenance and issue history should be verified.ST_GeomFromWKB/ST_AsBinary remove the need for PHP-side parsing? What is the expected payload size and request/import volume?GeometryParser in the application layer, with a thin adapter around creof/wkb-parser. Validate binary payload size and content type at HTTP/job boundaries. If spatial data already lives in PostGIS/MySQL, prefer database-native spatial functions and reserve this package for cases where PHP must decode WKB/EWKB directly.composer audit, static analysis, and contract tests in CI. Pin the exact version and avoid floating constraints.How can I help you explore Laravel packages today?