{"id":15524843,"url":"https://github.com/simonschaufi/php-libkml","last_synced_at":"2025-09-05T16:42:45.620Z","repository":{"id":2952594,"uuid":"3966465","full_name":"simonschaufi/php-libkml","owner":"simonschaufi","description":"A php library to work with KML/KMZ files.","archived":false,"fork":false,"pushed_at":"2025-03-10T18:42:56.000Z","size":3469,"stargazers_count":28,"open_issues_count":3,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-19T13:05:08.352Z","etag":null,"topics":["geojson","kml","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonschaufi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"simonschaufi","custom":["https://www.paypal.me/simonschaufi/10"]}},"created_at":"2012-04-08T19:43:43.000Z","updated_at":"2025-04-24T16:00:34.000Z","dependencies_parsed_at":"2024-04-08T19:30:18.392Z","dependency_job_id":"a4a4471a-fd26-4ae0-9a23-990ee2b8dcb3","html_url":"https://github.com/simonschaufi/php-libkml","commit_stats":{"total_commits":198,"total_committers":8,"mean_commits":24.75,"dds":0.3787878787878788,"last_synced_commit":"cb564bcfbc01f58341094322b1e93174c308463c"},"previous_names":["simonschaufi/php-libkml"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/simonschaufi/php-libkml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Fphp-libkml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Fphp-libkml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Fphp-libkml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Fphp-libkml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonschaufi","download_url":"https://codeload.github.com/simonschaufi/php-libkml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonschaufi%2Fphp-libkml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673586,"owners_count":23966379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geojson","kml","php"],"created_at":"2024-10-02T10:53:22.746Z","updated_at":"2025-07-23T12:08:56.613Z","avatar_url":"https://github.com/simonschaufi.png","language":"PHP","funding_links":["https://github.com/sponsors/simonschaufi","https://www.paypal.me/simonschaufi/10"],"categories":[],"sub_categories":[],"readme":"# PHP KML parser\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/simonschaufi/10)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/simonschaufi/php-libkml.svg)](https://packagist.org/packages/simonschaufi/php-libkml)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/simonschaufi/php-libkml/run-tests.yml?branch=main\u0026label=tests)](https://github.com/simonschaufi/php-libkml/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/simonschaufi/php-libkml.svg)](https://packagist.org/packages/simonschaufi/php-libkml)\n[![License](https://poser.pugx.org/simonschaufi/php-libkml/license)](https://packagist.org/packages/simonschaufi/php-libkml)\n\nA php library to parse KML/KMZ files.\n\nphp-libKML maps KML/KMZ data into PHP objects that follow the KML specification.\nThe purpose of the library is to create KML file from code, parse KML files and\nconvert to another format maintaining the complete KML information.\n\n## Features\n\n* KML schema version 2.2\n* PHP 7.4+\n* Composer integration\n* Object oriented design\n* Comprehensive KML model\n* Import\n  * KML\n\nFuture features:\n\n* Google extensions support\n* Import\n  * KMZ\n  * GeoJson\n* Export\n  * KML/KMZ\n  * GeoJson\n  * WKT\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require simonschaufi/php-libkml\n```\n\n## Usage\n\n```php\n$kmlReader = new KmlReader();\n$kmlDocument = $kmlReader-\u003efromString($kml);\n// or\n$kmlDocument = $kmlReader-\u003efromKmlFile($kmlFilePath);\n```\n\n## Contributing\n\n**Pull Requests** are gladly welcome!\n\nPlease remember to add an issue and connect it to your pull requests.\nIt is very helpful to understand what kind of issue the PR is going to solve.\n\nBugfixes:\n\nPlease describe what kind of bug your fix solves\nand give us feedback on how to reproduce the issue.\nWe're going to accept only bugfixes if we can reproduce the issue.\n\nExecute unit tests:\n\n```bash\ncomposer local:tests:unit\n```\n\nExecute acceptance tests:\n\n```bash\ncomposer local:tests:acceptance\n```\n\n## Credits\n\n- [Simon Schaufelberger](https://github.com/simonschaufi)\n- [All Contributors](../../graphs/contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonschaufi%2Fphp-libkml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonschaufi%2Fphp-libkml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonschaufi%2Fphp-libkml/lists"}