PHPackages                             zima/orchid-yandex-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. [Image &amp; Media](/categories/media)
4. /
5. zima/orchid-yandex-map

ActiveLibrary[Image &amp; Media](/categories/media)

zima/orchid-yandex-map
======================

Yandex map for site

1.0.0(7mo ago)079↓50%MITJavaScriptPHP ^8.2

Since Sep 22Pushed 7mo agoCompare

[ Source](https://github.com/zzzima/orchid-yandex-map)[ Packagist](https://packagist.org/packages/zima/orchid-yandex-map)[ RSS](/packages/zima-orchid-yandex-map/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist zima/orchid-yandex-map "*"

```

or add

```
"zima/orchid-yandex-map": "*"

```

Publish config
--------------

[](#publish-config)

```
php artisan vendor:publish --tag=yandex-map-config

```

Publish resources
-----------------

[](#publish-resources)

```
php artisan vendor:publish --tag=yandex-map-resources

```

Publish lang files
------------------

[](#publish-lang-files)

```
php artisan vendor:publish --tag=yandex-map-lang

```

Usage
-----

[](#usage)

In html/.env file add keys YANDEX-MAP-KEY and YANDEX-SUGGEST-KEY

```
YANDEX-MAP-KEY=
YANDEX-SUGGEST-KEY=

```

In html/config/platform.php file find key "vite" and add rows like this

```
    'vite' => [
        ...,

        'resources/css/orchid-yandex-map/app.css',
        'resources/js/orchid-yandex-map/app.js',
    ],
```

In your database, coordinates should be stored as json, so create json column in your table, e.g:

```
    Schema::create('places', function (Blueprint $table) {
        ...
        $table->json('map')->nullable();
        ...
    });
```

In model:

```
class Place extends Model
{
    ```
    ```

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        ```
        ```
        'map',
    ];

    protected $casts = [
        ```
        ```
        'map' => 'json',
    ];
}
```

Well, now you are ready to use YMap field on your Orchid screens

```
    YMap::make('model.map')
        ->title(__('ymap.title'))
        ->help(__('ymap.help'))
        ->height('400px')               // height of map container, default 300px
        ->zoom(12)                      // map zoom, default 14
        ->center('30.314997,59.938784') // coordinates of center, default '37.588144,55.733842' (Moscow)
        ->controls([
            ControlType::GEOLOCATION,   // display or not geolocation (find me) control
            ControlType::SCALE,         // display or not scale control
            ControlType::SEARCH,        // display or not map search control
            ControlType::ZOOM,          // display or not zoom control
    ]),
```

Also you can hide map field and use suggest field only, or vise versa - use map included search without suggest field

```
# hide map

    YMap::make('model.map')
        ->title(__('ymap.title'))
        ->help(__('ymap.help'))
        ->hideMap(true)                 //to hide map field
    ),

# or hide suggest field

    YMap::make('model.map')
        ->title(__('ymap.title'))
        ->help(__('ymap.help'))
        ->hideSearch(true)              //to hide map field
        ->controls([
            ControlType::GEOLOCATION,   // display or not geolocation (find me) control
            ControlType::SCALE,         // display or not scale control
            ControlType::SEARCH,        // display or not map search control
            ControlType::ZOOM,          // display or not zoom control
    ]),
```

License
-------

[](#license)

[MIT license](LICENSE.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity11

Limited adoption so far

Community6

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

238d ago

### Community

Maintainers

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

---

Top Contributors

[![marinazima](https://avatars.githubusercontent.com/u/26627231?v=4)](https://github.com/marinazima "marinazima (1 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/zima-orchid-yandex-map/health.svg)

```
[![Health](https://phpackages.com/badges/zima-orchid-yandex-map/health.svg)](https://phpackages.com/packages/zima-orchid-yandex-map)
```

###  Alternatives

[mostafaznv/nova-video

Video Field for Laravel Nova

22398.0k1](/packages/mostafaznv-nova-video)

PHPackages © 2026

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