gasparesganga/php-shapefile
Read and write ESRI Shapefiles in PHP with support for common geometry formats. php-shapefile handles SHP/SHX/DBF data, works with WKT and GeoJSON, and includes docs and examples for parsing, editing, and exporting.
.shp) into Laravel applications, supporting use cases like GIS-based analytics, mapping tools, or location-based services.Adopt if:
Look elsewhere if:
pyogrio, turf.js, or Node.js alternatives.For Executives: "This package lets us natively handle ESRI Shapefiles—a $10M+ market standard for geospatial data—without proprietary dependencies. It’s MIT-licensed, actively maintained, and integrates with our Laravel stack to enable features like bulk data imports, GIS-based APIs, or compliance with legacy systems. For example, [Competitor X] charges $50K/year for Shapefile tools; this gives us that capability for free with a 2-week dev effort. Use cases include [specific product feature] and reducing vendor lock-in."
For Engineering:
*"gasparesganga/php-shapefile is a battle-tested Laravel-compatible library to read/write Shapefiles (.shp), with full GeoJSON/WKT support. Key advantages:
.prj), and edge cases (e.g., empty polygons).forceClockwise())."*How can I help you explore Laravel packages today?