simonschaufi/php-libkml
最新稳定版本:v1.0.1
Composer 安装命令:
composer require simonschaufi/php-libkml
包简介
A library to manipulate KML/KMZ files
README 文档
README
A php library to parse KML/KMZ files.
php-libKML maps KML/KMZ data into PHP objects that follow the KML specification. The purpose of the library is to create KML file from code, parse KML files and convert to another format maintaining the complete KML information.
Features
- KML schema version 2.2
- PHP 7.4+
- Composer integration
- Object oriented design
- Comprehensive KML model
- Import
- KML
Future features:
- Google extensions support
- Import
- KMZ
- GeoJson
- Export
- KML/KMZ
- GeoJson
- WKT
Installation
You can install the package via composer:
composer require simonschaufi/php-libkml
Usage
$kmlReader = new KmlReader(); $kmlDocument = $kmlReader->fromString($kml); // or $kmlDocument = $kmlReader->fromKmlFile($kmlFilePath);
Contributing
Pull Requests are gladly welcome!
Please remember to add an issue and connect it to your pull requests. It is very helpful to understand what kind of issue the PR is going to solve.
Bugfixes:
Please describe what kind of bug your fix solves and give us feedback on how to reproduce the issue. We're going to accept only bugfixes if we can reproduce the issue.
Execute unit tests:
composer local:tests:unit
Execute acceptance tests:
composer local:tests:acceptance
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 6.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 30
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2024-02-22