plin-code/kml-parser
Parse KML and KMZ files in Laravel to extract placemarks, styles, style maps, and document metadata. Simple installation, configurable namespace and temp directory, with a clean API for reading geographic data.
This package is in its early stages. Support for the KML format is still evolving as I continue to explore its structure and variations. Feedback and contributions are welcome!
This release introduces key foundational features for the KML parser:
GeometryType and RequiredElement enums to represent geometry types and required XML elements.KmlException, KmlParserException, and KmzExtractorException for more expressive and structured error handling.KmlValidator class to perform pre-validation of KML content before XML parsing.KmlParser::loadFromString().These changes improve robustness and prepare the parser for more advanced validation and error reporting.
How can I help you explore Laravel packages today?