tarik02 / yandex-maps-embed
Laravel package to make and embed yandex maps on your site.
Package info
github.com/Tarik02/yandex-maps-embed
Type:package
pkg:composer/tarik02/yandex-maps-embed
v1.0.1
2017-07-08 19:15 UTC
Requires
- php: >=5.6.0
This package is auto-updated.
Last update: 2026-02-28 02:47:15 UTC
README
Installation
Required composer dependency:
composer require "tarik02/yandex-maps-embed"
Register ServiceProvider(add it to config/app.php):
Tarik02\YandexMapsEmbed\Providers\YandexMapsEmbedServiceProvider::class,
Usage
$name is parsed name.
$options is options for frame(['width' => 560, 'height' => 400]).
Get name:
$name = yandex_map_parse($string); // Using helper $name = YandexMapEmbed::parse($string); // Using facade
Show frame:
@yandexMap($name, $options) {{ yandex_map_make($name, $options) }} {{ YandexMapEmbed::make($name, $options) }}