PHPackages                             it-blaster/yandex-maps-form-type-bundle - 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. it-blaster/yandex-maps-form-type-bundle

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

it-blaster/yandex-maps-form-type-bundle
=======================================

Set the latitude and longitude using Yandex Maps

v1.0.6(9y ago)33242MITPHPPHP &gt;=5.3.2

Since Apr 30Pushed 9y ago7 watchersCompare

[ Source](https://github.com/it-blaster/yandex-maps-form-type-bundle)[ Packagist](https://packagist.org/packages/it-blaster/yandex-maps-form-type-bundle)[ Docs](https://github.com/it-blaster/yandex-maps-form-type-bundle)[ RSS](/packages/it-blaster-yandex-maps-form-type-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

YandexMapsFormTypeBundle
========================

[](#yandexmapsformtypebundle)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0c15695721957a26b50a926e00c7c9484a3ab7de4ed230b74bbc55a8d69693af/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/it-blaster/yandex-maps-form-type-bundle/?branch=master)[![Build Status](https://camo.githubusercontent.com/6fa4141dcf982185d40f2895c49a6c509c32a093a983a05b4c75f612acaadf46/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/it-blaster/yandex-maps-form-type-bundle/build-status/master)[![License](https://camo.githubusercontent.com/8e009ff9deed61a89b71f6adc57b3e27dee4925852372ac79e342bb6f0b78bd5/68747470733a2f2f706f7365722e707567782e6f72672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/it-blaster/yandex-maps-form-type-bundle)[![Total Downloads](https://camo.githubusercontent.com/2e715eca2840c3c7a6667e03b56f3cb2685c9158b74e36a6ee312b99813b3e29/68747470733a2f2f706f7365722e707567782e6f72672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/it-blaster/yandex-maps-form-type-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/f48e625ffc27a17cf323950a8a312bba2e0ec09d107d0019d15a8225321d97f9/68747470733a2f2f706f7365722e707567782e6f72672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/it-blaster/yandex-maps-form-type-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/8b44c2d77b784d052c5ef5c7c42baad313359fb648ddcc69bccbc82d280cbbb7/68747470733a2f2f706f7365722e707567782e6f72672f69742d626c61737465722f79616e6465782d6d6170732d666f726d2d747970652d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/it-blaster/yandex-maps-form-type-bundle)

Set the latitude and longitude using Yandex Maps

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

[](#installation)

Add it-blaster/yandex-maps-form-type-bundle to your `composer.json` file and run `composer`

```
...
"require": {
    "it-blaster/yandex-maps-form-type-bundle": "1.0.*"
}
...
```

Register the bundle in your `AppKernel.php`

```
...
new Fenrizbes\YandexMapsFormTypeBundle\FenrizbesYandexMapsFormTypeBundle(),
...
```

Include bundle's scripts in your page:

```
...

...
```

Usage
-----

[](#usage)

Just set the `yandex_maps` FormType for your field as follows:

```
...
    ->add('coordinates', 'yandex_maps')
...
```

The type takes and returns an array with items `lat` for the latitude and `lng` for the longitude. So you need to configure your database coordinates column as `OBJECT` or create the setter and getter for it on your model.

Options
-------

[](#options)

There are a few options that you can pass:

```
...
    ->add('coordinates', 'yandex_maps', array(
        'width'      => 640,      // The map's width
        'height'     => 480,      // The map's height
        'default'    => array(
            'lat' => 55.75319, // The default latitude value
            'lng' => 37.619953 // The default longitude value
        ),
        'parameters' => array(
            'type'          => 'yandex#map', // The default map's type
            'zoom'          => 11,           // The initial zoom size
            'scrollZoom'    => false,        // Enable/disable scroll zoom
            'searchSupport' => false,        // Enable/disable searching objects by searchControl
            'controls'      => array(        // Enabled map's controls
                'zoomControl'
            )
        )
    ))
...
```

Configuration
-------------

[](#configuration)

You can configure default values for type's options to avoid passing them every time:

```
...
fenrizbes_yandex_maps_form_type:
    size:
        width:  640
        height: 480
    default:
        lat: 55.75319
        lng: 37.619953
    parameters:
        type:          'yandex#map'
        zoom:          11
        scrollZoom:    false
        searchControl: false
        controls:      [ 'zoomControl' ]
...
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~90 days

Recently: every ~133 days

Total

7

Last Release

3491d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11211873?v=4)[Iaroslav Gashuk](/maintainers/fenrizbes)[@fenrizbes](https://github.com/fenrizbes)

---

Top Contributors

[![cherny-sh](https://avatars.githubusercontent.com/u/184812?v=4)](https://github.com/cherny-sh "cherny-sh (2 commits)")

---

Tags

symfonyformyandex maps

### Embed Badge

![Health badge](/badges/it-blaster-yandex-maps-form-type-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/it-blaster-yandex-maps-form-type-bundle/health.svg)](https://phpackages.com/packages/it-blaster-yandex-maps-form-type-bundle)
```

###  Alternatives

[kris/laravel-form-builder

Laravel form builder - symfony like

1.7k2.2M45](/packages/kris-laravel-form-builder)[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2755.3M13](/packages/pentatrion-vite-bundle)[norberttech/aceeditor-bundle

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

28310.8k](/packages/norberttech-aceeditor-bundle)[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)

PHPackages © 2026

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