PHPackages                             i-prikot/moonshine-yandexmap - 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. i-prikot/moonshine-yandexmap

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

i-prikot/moonshine-yandexmap
============================

YandexMap for MoonShine

v1.0.0(1y ago)06MITJavaScriptPHP ^8.2|^8.3

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/i-prikot/moonshine-yandexmap)[ Packagist](https://packagist.org/packages/i-prikot/moonshine-yandexmap)[ Docs](https://moonshine-laravel.com)[ RSS](/packages/i-prikot-moonshine-yandexmap/feed)WikiDiscussions main Synced today

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

YandexMap Field for MoonShine
=============================

[](#yandexmap-field-for-moonshine)

A custom Yandex Maps field for MoonShine admin panel that allows users to interact with Yandex Maps, place markers, and save coordinates.

Features
--------

[](#features)

- Interactive Yandex Maps integration
- Placemark management (add/delete)
- Configurable default map center and zoom level

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

[](#installation)

1. Install the package via Composer:

    ```
    composer require iprikot/moonshine-yandexmap
    ```
2. Publish the configuration file:

    ```
    php artisan vendor:publish --tag=moonshine-yandexmap-config
    ```
3. Add your Yandex Maps API key to the `.env` file:

    ```
    MOONSHINE_YANDEXMAP_API_KEY=your_api_key_here
    ```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use Iprikot\YandexMap\Fields\YandexMap;

// In your MoonShine resource
YandexMap::make('Location', 'location')
```

### Customization Options

[](#customization-options)

```
YandexMap::make('Location', 'location')
    ->width('100%') // or 500, '50vw', etc.
    ->height(400) // or '50vh', '30rem', etc.
    ->defaultMapCenter(56.023097, 92.874172) // latitude, longitude
    ->defaultMapZoom(13)
    ->defaultIconHEXColor('#0095b6')
    ->selectedIconHEXColor('#ff0000')
    ->deletePlacemarkButtonLabel('Remove marker')
    ->fitToBoundsButtonLabel('Fit to bounds');
```

### Configuration

[](#configuration)

The package comes with a config file (`moonshine_yandexmap.php`) where you can set default values:

```
return [
    'api_key' => env('MOONSHINE_YANDEXMAP_API_KEY', ''),
];
```

Data Structure
--------------

[](#data-structure)

The field stores data as JSON with the following structure:

```
{
    "center": [56.023097, 92.874172],
    "zoom": 13,
    "placemarks": [[56.023097, 92.874172],[58.023097, 92.874172]]
}
```

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

[](#requirements)

- PHP 8.0+
- MoonShine 3.0+
- Yandex Maps API 2.1

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance44

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

445d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21138391?v=4)[Ivan Prikot](/maintainers/i-prikot)[@i-prikot](https://github.com/i-prikot)

---

Top Contributors

[![i-prikot](https://avatars.githubusercontent.com/u/21138391?v=4)](https://github.com/i-prikot "i-prikot (7 commits)")

---

Tags

mapyandexmoonshine

### Embed Badge

![Health badge](/badges/i-prikot-moonshine-yandexmap/health.svg)

```
[![Health](https://phpackages.com/badges/i-prikot-moonshine-yandexmap/health.svg)](https://phpackages.com/packages/i-prikot-moonshine-yandexmap)
```

###  Alternatives

[phpcollection/phpcollection

General-Purpose Collection Library for PHP

1.0k64.7M34](/packages/phpcollection-phpcollection)[dasprid/enum

PHP 7.1 enum implementation

382165.7M12](/packages/dasprid-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

50458.3M110](/packages/marc-mabe-php-enum)[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.3k459.4k15](/packages/aimeos-map)[spatie/geocoder

Geocoding addresses to coordinates

8555.2M20](/packages/spatie-geocoder)[php-coord/php-coord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

109996.7k12](/packages/php-coord-php-coord)

PHPackages © 2026

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