PHPackages                             miclf/static-map - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. miclf/static-map

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

miclf/static-map
================

v1.0.0(6y ago)318CC0-1.0PHP

Since Dec 14Pushed 6y ago2 watchersCompare

[ Source](https://github.com/miclf/static-map)[ Packagist](https://packagist.org/packages/miclf/static-map)[ RSS](/packages/miclf-static-map/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

🗺 StaticMap
===========

[](#-staticmap)

A PHP package for generating static maps from map tile servers. Think of it as taking a screenshot of specific locations on OpenStreetMap.

Requirements
------------

[](#requirements)

This package uses the [GD library](https://www.php.net/manual/en/book.image.php). You probably already have it, since it’s almost always installed by default with PHP.

Installation
------------

[](#installation)

You can install the package via the [Composer dependency manager](https://getcomposer.org/):

```
composer require miclf/static-map
```

Usage
-----

[](#usage)

The most straightforward way to use the package is by providing coordinates (latitude and longitude) and the path where the generated map will be saved.

```
