{"id":19045696,"url":"https://github.com/phpmyadmin/shapefile","last_synced_at":"2025-04-07T11:08:02.811Z","repository":{"id":57040659,"uuid":"61102481","full_name":"phpmyadmin/shapefile","owner":"phpmyadmin","description":"ESRI ShapeFile library for PHP","archived":false,"fork":false,"pushed_at":"2023-09-19T14:24:55.000Z","size":1480,"stargazers_count":27,"open_issues_count":4,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-17T22:38:55.195Z","etag":null,"topics":["dbf","esri","php","shapefile"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/phpmyadmin/shapefile","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpmyadmin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-06-14T07:45:34.000Z","updated_at":"2024-03-21T11:55:53.000Z","dependencies_parsed_at":"2024-01-06T10:43:56.356Z","dependency_job_id":"80d52017-3a0a-49f8-9943-98480913a902","html_url":"https://github.com/phpmyadmin/shapefile","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmyadmin%2Fshapefile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmyadmin%2Fshapefile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmyadmin%2Fshapefile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmyadmin%2Fshapefile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpmyadmin","download_url":"https://codeload.github.com/phpmyadmin/shapefile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640463,"owners_count":20971557,"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","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":["dbf","esri","php","shapefile"],"created_at":"2024-11-08T22:51:07.295Z","updated_at":"2025-04-07T11:08:02.791Z","avatar_url":"https://github.com/phpmyadmin.png","language":"PHP","funding_links":[],"categories":["Geospatial Library","PHP"],"sub_categories":["PHP"],"readme":"# shapefile\nShapeFile library for PHP\n\n[![Test-suite](https://github.com/phpmyadmin/shapefile/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/phpmyadmin/shapefile/actions/workflows/tests.yml?query=branch%3Amaster)\n[![codecov.io](https://codecov.io/github/phpmyadmin/shapefile/coverage.svg?branch=master)](https://codecov.io/github/phpmyadmin/shapefile?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phpmyadmin/shapefile/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phpmyadmin/shapefile/?branch=master)\n[![Packagist](https://img.shields.io/packagist/dt/phpmyadmin/shapefile.svg)](https://packagist.org/packages/phpmyadmin/shapefile)\n\n## Features\n\nThis library supports the 2D and 3D variants, except MultiPatch, of the ShapeFile format as\ndefined in https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf. It can read and edit ShapeFiles and the associated\ninformation (DBF file). There are a lot of things that can be improved in the\ncode, if you are interested in developing, helping with the documentation,\nmaking translations or offering new ideas please contact us.\n\n## Installation\n\nPlease use [Composer][1] to install:\n\n```sh\ncomposer require phpmyadmin/shapefile\n```\n\nTo be able to read and write the associated DBF file you need the ``dbase``\nextension:\n\n```sh\npecl install dbase\necho \"extension=dbase.so\" \u003e /etc/php8/conf.d/dbase.ini\n```\n\n## Documentation\n\nAPI documentation is available at\n\u003chttps://develdocs.phpmyadmin.net/shapefile/\u003e.\n\n## Usage\n\nTo read a shape file:\n\n```php\nuse PhpMyAdmin\\ShapeFile\\ShapeFile;\nuse PhpMyAdmin\\ShapeFile\\ShapeType;\n\n$shp = new ShapeFile(ShapeType::Null);\n$shp-\u003eloadFromFile('path/file.*');\n```\n\n## History\n\nThis library is based on BytesFall ShapeFiles library written by Ovidio (ovidio\nAT users.sourceforge.net). It has been embedded in phpMyAdmin for\nyears and slowly developed there. At one point people started to use our\nversion rather than the original library and that was when we decided to\nmake it a separate package.\n\n[1]:https://getcomposer.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmyadmin%2Fshapefile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpmyadmin%2Fshapefile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmyadmin%2Fshapefile/lists"}