PHPackages                             nbolender/mapkit-web-snapshot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nbolender/mapkit-web-snapshot

ActiveLibrary[API Development](/categories/api)

nbolender/mapkit-web-snapshot
=============================

Generate a signed URL to an Apple MapKit Web Snapshot.

v1.0.0(5y ago)26.8k↑175%MITPHPPHP &gt;=7.0.0

Since Feb 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nbolender/mapkit-web-snapshot)[ Packagist](https://packagist.org/packages/nbolender/mapkit-web-snapshot)[ Docs](https://github.com/nbolender/mapkit-web-snapshot)[ RSS](/packages/nbolender-mapkit-web-snapshot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

nbolender/mapkit-web-snapshot
=============================

[](#nbolendermapkit-web-snapshot)

PHP library that generates a signed URL to an Apple Maps Web Snapshot.

Install
-------

[](#install)

```
composer require nbolender/mapkit-web-snapshot
```

Usage
-----

[](#usage)

```
use NBolender\MapKit\WebSnapshot;

$teamId = 'XXXXXXXXXX'; // Apple Developer Team ID
$keyId = 'XXXXXXXXXX'; // Apple MapKit Key ID
$private_key = '-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----'; // Contents of, or path to, private key file
$center = 'One Apple Park Way, Cupertino, CA 95014'; // The center of the map, specified as either coordinates or an address

// (Optional) A keyed array of any additional map parameters; JSON parameters will be automatically encoded
$additional_parameters = [
    'z' => 12,
    'size' => '300x300',
    't' => 'standard',
    'colorScheme' => 'dark',
    'annotations' => [
        [
            'color' => 'ff0000',
            'markerStyle' => 'balloon',
            'point' => 'center',
        ],
    ],
];

$url = WebSnapshot::signedURL($teamId, $keyId, $private_key, $center, $additional_parameters);
echo $url;
```

Apple Documentation
-------------------

[](#apple-documentation)

- [Maps Web Snapshots Documentation](https://developer.apple.com/documentation/snapshots)
- [Web Service Endpoint &amp; Supported Parameters](https://developer.apple.com/documentation/snapshots/create_a_maps_web_snapshot)

License
-------

[](#license)

This project is open-source software and licensed under the MIT license.

Credits
-------

[](#credits)

This project is developed by [Nathan Bolender](https://github.com/nbolender). Special thanks to [Thomas Schoffelen](https://github.com/tschoffelen) and his [MapKit JWT library](https://github.com/flexible-agency/mapkit-jwt), which was referenced for this project.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3a6b227285364713163c2a1322db69c4f6829db3719dfa92b7492da99a36a9d?d=identicon)[nbolender](/maintainers/nbolender)

---

Top Contributors

[![nbolender](https://avatars.githubusercontent.com/u/4635368?v=4)](https://github.com/nbolender "nbolender (2 commits)")

---

Tags

mapkitapple maps

### Embed Badge

![Health badge](/badges/nbolender-mapkit-web-snapshot/health.svg)

```
[![Health](https://phpackages.com/badges/nbolender-mapkit-web-snapshot/health.svg)](https://phpackages.com/packages/nbolender-mapkit-web-snapshot)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
